There's more than one way to do things | |
PerlMonks |
Re: Reading command line flags into variables...?by BoredByPolitics (Scribe) |
on Feb 02, 2001 at 02:04 UTC ( [id://55868]=note: print w/replies, xml ) | Need Help?? |
Another solution, to complement all the suggestions you've had so far,
is to use AppConfig. It offers you the functionality of
both Getopt::Std and Getopt::Long, as well as supporting
the transparent use of configuration files.
Useful to consider, especially if there's any danger that the number of commandline options your program needs will increase in the future. HTH Pete
In Section
Seekers of Perl Wisdom
|
|