in reply to
GetOptions non-option callback
If you want to leave unmatched options in @ARGV, use
Getopt::Long::Configure( "pass_through" );
[download]
or use the "--" construction. -j
Comment on
Re: GetOptions non-option callback
Download
Code
Replies are listed 'Best First'.
Re^2: GetOptions non-option callback
by
anadem
(Scribe)
on Feb 24, 2005 at 20:41 UTC
well, I'd prefer to catch bad options but maybe I should leave them in @ARGV and parse that after GetOptions, since my callback isn't working.
Edit: pass_though seems to enable the callback functionality (despite the docs) so I'll just use that. Thanks!
[reply]
In Section
Seekers of Perl Wisdom