On Jun 23, 2004, at 4:31 PM, David Wheeler wrote:
This patch borgs the basic idea from Getopt::Simple. It doesn't have
that module's underdocumented "env" or "order" options, but it adds
"store", so that an argument value can be stored in a variable in
Build.PL rather than in args.
Oh, and I also added some notes where I was unsure of things, or where
I thought we could simplify. To whit:
* We could probably use Getopt::Long to process Module::Build's own
arguments, too, and eliminate the custom argument processing code.
Thoughts?
* I'm using valid_property() to prevent clashes with Module::Build's
own options. Are there others it should check, such as those referenced
in hashes named "%additive" here and there in the code?
* Should we provide a parameter that allows users to set additional
options on Getopt::Long (e.g., "ignore_case", "gnu_compat", etc.)?
Thanks,
David
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
|