On 8/13/07, Ovid <[EMAIL PROTECTED]> wrote: > --- David Golden <[EMAIL PROTECTED]> wrote: > > > In Build.PL, add perl to the requires list. > > > > In Makefile.PL, add "require 5.008" to the top of the Makefile.PL > > Out of curiosity, why is "require 5.008" not a suitable option for > Build.PL? Does it track this as metadata and report on it?
It can be used with Build.PL, but it's not necessary. Module::Build knows how to find the version of "perl" when specified as a requirement and proceeds as usual from there (including adding it to generated META.yml). At this point, I think the latest releases of M::B, CPAN, CPANPLUS, and CPAN::Reporter all know to handle "perl" specially in the prerequisite list. In addition, CPANPLUS and CPAN::Reporter will detect "require 5.xxx" failures in *.PL and classify those reports as "NA". Schwern and I discussed this difference in behavior on the EU::MM RT queue: https://rt.cpan.org/Ticket/Display.html?id=28374 It seems likely there will be a different way of specifying a minimum perl version in EU::MM eventually that will preserve that requirement as metadata. Regards, David
