in reply to Wrapper headache - Getopt::Long screw up w/ '--' and missing opt value

All the problems want me to write my own damn option parsing module. How do people cope when writing a a Perl wrapper which accepts known & unkwon options for the wrapped program?

If they are unknown options what are you trying to do with them except pass them on to the next app? if so just pass ARGV directly. If you are trying to parse the option flags then that kinda implys the options are known. Shrug.

-Waswas
  • Comment on Re: Wrapper headache - Getopt::Long screw up w/ '--' and missing opt value

Replies are listed 'Best First'.
Re: Re: Wrapper headache - Getopt::Long screw up w/ '--' and missing opt value
by parv (Parson) on Feb 10, 2003 at 06:02 UTC
    Some options are known, others are not; unknowns ones are passed as they are. Please re-read my both of the posts.