|
|
| more useful options | |
| PerlMonks |
Re: Range in Getoptby james2vegas (Hermit) |
| on Oct 03, 2012 at 06:16 UTC ( #996986=note: print w/ replies, xml ) | Need Help?? |
|
You can evaluate options with Getopt::Long using a custom subroutine, like this:
GetOptions catches the die and throws it as a warning and returns false. When using the custom subroutine, you need to handle assigning to the variable for your option yourself.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||