Perl Monk, Perl Meditation | |
PerlMonks |
Re: Requiring option values in Getopt::Longby markkawika (Monk) |
on Aug 20, 2009 at 00:04 UTC ( [id://789975]=note: print w/replies, xml ) | Need Help?? |
Getopt::Long will not exit for you; it will warn you (and the user) about the error, but it's up to you to exit if there was a problem. Be sure to check the return value from GetOptions:
Example:
In Section
Seekers of Perl Wisdom
|
|