more useful options | |
PerlMonks |
•Re: Testing <> for undefinedby merlyn (Sage) |
on Jul 07, 2004 at 16:30 UTC ( [id://372442]=note: print w/replies, xml ) | Need Help?? |
If you're asking how to see if there are command line arguments, the arguments are copied into @ARGV. Check the length of that array. If it's empty, then you have no args:
-- Randal L. Schwartz, Perl hacker
In Section
Seekers of Perl Wisdom
|
|