Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Use of uninitialized value in numeric lt (<)

by deibyz (Hermit)
on Apr 04, 2005 at 13:45 UTC ( [id://444678]=note: print w/replies, xml ) Need Help??


in reply to Use of uninitialized value in numeric lt (<)

In adition to the other replies, only say that if you want the number of arguments to the script you can use @ARGV in scalar context, ie:

if(@ARGV < 3) { # Blah }

And I agree with the rest of the monks, ALLWAYS use strict. (And warnings).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (9)
As of 2024-04-23 11:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found