Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: defining variable values on the commandline

by Fastolfe (Vicar)
on Jul 09, 2002 at 21:08 UTC ( #180608=note: print w/replies, xml ) Need Help??


in reply to defining variable values on the commandline

When dealing with anything but one-liners, I might also suggest you examine the Getopt:: line of modules (like Getopt::Std). These generally provide a more flexible mechanism for grabbing command-line arguments, and frequently can make use of a hash to avoid polluting your global name space.
  • Comment on Re: defining variable values on the commandline

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://180608]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2017-06-26 19:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (587 votes). Check out past polls.