Re: [Module::Build] Module::Build Options
Status: Beta
Brought to you by:
kwilliams
|
From: David W. <da...@ki...> - 2004-06-18 01:09:53
|
On Jun 17, 2004, at 10:11 AM, David Wheeler wrote:
> Yes, I saw that...after poking around the internals for a while. The
> trouble is that it doesn't do very intelligent argument parsing. For
> example, if I call it like this:
>
> perl Build --add-another --use-dbd=DBD::Pg
>
> Then the args hash looks something like this:
>
> { 'add-another' => '--use-dbd=DBD::Pg' }
>
>
> !!
>
> Ideally, I'd be able to tell M::B what arguments to expect using
> Getopt::Long argument specifications, or something similar.
It actually didn't take me long to implement this. Attached, including
docs and tests. What do you guys think?
Regards,
David
|