|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re: using getopts::long and testing for command line optionsby idnopheq (Chaplain) |
| on Aug 22, 2001 at 14:50 UTC ( [id://106970]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Move the GetOptions line after the @ARGV test. The Getopt modules clear their elements from @ARGV when they process.
HTH
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||