Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Check For null Arguments

by ramlight (Friar)
on Mar 13, 2013 at 15:50 UTC ( [id://1023242] : note . print w/replies, xml ) Need Help??


in reply to Check For null Arguments

If all you are interested in knowing is whether or not there are ANY arguments on the command line, then you might just as well look at the size of @ARGV:
my $nargs = @ARGV; print "Number of command line arguments is $nargs\n";