The stupid question is the question not asked | |
PerlMonks |
Re: defining variable values on the commandlineby Fastolfe (Vicar) |
on Jul 09, 2002 at 21:08 UTC ( [id://180608]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|