data67 has asked for the wisdom of the Perl Monks concerning the following question:
I want this statement to evaluate five data fields in an array, if all five are available then run the sub, even if any one is available run the sub, else exit conditional. It simple enough but I cant seem to get it right. Thanks in advance...next if @flds[9..13] eq ""; if (defined (@flds[9..13])) { print "$flds[13]L\n"; &add_sub (); print "</tr>\n"; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: simple condition
by TheoPetersen (Priest) on Sep 25, 2001 at 01:11 UTC | |
Re: simple condition
by perrin (Chancellor) on Sep 25, 2001 at 01:13 UTC | |
Re: simple condition
by herveus (Prior) on Sep 25, 2001 at 06:08 UTC |