![]() |
|
No such thing as a small change | |
PerlMonks |
Re: Re: $ARGV dilemmaby dws (Chancellor) |
on May 27, 2001 at 07:42 UTC ( #83569=note: print w/replies, xml ) | Need Help?? |
unless $ARGV[2]
works until someone passes a zero. You could amend it to
unless defined $ARGV[2]
though
if 3 > @ARGV
reads better, at least in my opinion.
In Section
Seekers of Perl Wisdom
|
|