really bad use of postfix
- From: foskey@xxxxxxxxxxxxxxxx (Ken Foskey)
- Date: Sun, 29 Apr 2007 11:22:56 +1000
Just like to show how NOT to use postfix. I have had a frustrating day
tackling this type of unreadable code.
exec_rqst('stga2k_vps.pl',$FileNameIn) if ($a2kqual[4] eq
"VPS");
exec_rqst('stga2kif.sh',$FileNameIn) if ($a2kqual[4] ne
"VPS");
if ($a2kqual[4] eq "VPS") {
exec_rqst('stga2k_vps.pl',$FileNameIn);
}
else {
exec_rqst('stga2kif.sh',$FileNameIn);
}
--
Ken Foskey
FOSS developer
.
- Follow-Ups:
- Re: really bad use of postfix
- From: Dr.Ruud
- Re: really bad use of postfix
- From: John W. Krahn
- Re: really bad use of postfix
- Prev by Date: Re: email text
- Next by Date: Re: really bad use of postfix
- Previous by thread: email text
- Next by thread: Re: really bad use of postfix
- Index(es):