Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: passing parameters from the command line

by l3v3l (Monk)
on Dec 08, 2005 at 00:33 UTC ( [id://515087]=note: print w/replies, xml ) Need Help??


in reply to passing parameters from the command line

can you just use: $opt = $ARGV[0] || "default value for option"; instead of shift or is there something else going on in your script that requires you to use shift?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-25 12:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found