Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Check For null Arguments

by ramlight (Friar)
on Mar 13, 2013 at 15:50 UTC ( #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";

Comment on Re: Check For null Arguments
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1023242]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2015-11-25 14:00 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (677 votes), past polls