Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: $ARGV dilemmaby dusk (Friar) |
on May 27, 2001 at 06:11 UTC ( [id://83562]=note: print w/replies, xml ) | Need Help?? |
UPDATE: Err, I answered my own question right after submission; I apologize for asking such a silly question, and jumping to ask, before giving it any thought. The solution is, of course, to just use unless $ARGV[2].
UPDATE 2: I guess I should have been more precise in both my question and update. Originally, the last argument was 0; but changing it to a string was the solution I came up with..
In Section
Seekers of Perl Wisdom
|
|