Re: CPAN Testing



On Fri, 2008-02-29 at 09:13 +0100, Jeffrey Ratcliffe wrote:

Anyway - might I suggest

use ExtUtils::MakeMaker 6.31;

as that was the first version with EXTRA_META support.

Either that, or a construct like:

my @extra = $ExtUtils::MakeMaker::VERSION > 6.30
? qw(EXTRA_META $configure_requires)
: ();

WriteMakefile(
[...]
    @extra,
);

EU::MakeMaker issues a warning about unknown keys, but then goes on to
happily ignore them.  So I don't think this is needed, or is it?

LICENSE and AUTHOR also set fields in META.yaml - perhaps it might be
useful to fill them too, although you'll need the same sort of
construct for the LICENSE field for EU::MM < 6.031.

That might be useful, yeah.  But then again, you'd have to come up with
a way to fetch at least the author information from the AUTHORS file to
avoid duplication.  And the gain doesn't seem to justify this effort.
But patches welcome. :-)

-- 
Bye,
-Torsten




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]