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

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?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (10)
As of 2016-10-25 12:24 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (318 votes). Check out past polls.