more useful options | |
PerlMonks |
Re: Command line optionsby mrstlee (Beadle) |
on Nov 01, 2011 at 20:34 UTC ( [id://935211]=note: print w/replies, xml ) | Need Help?? |
I usually do it the other way round: Naturally you would change the assignment above if, for example, 0, was a legal value for opt1, otherwise if the user puts in 0 then either the env var or 'default' will get used.
In Section
Seekers of Perl Wisdom
|
|