Alexandr Ciornii wrote: > Hello! > > Makefile.PL/ExtUtils::MakeMaker has no way to specify required perl > version except "use 5.006;". > I propose to make possible to specify perl version same way as in Build.PL. > Ex.: > 'PREREQ_PM' => { > perl => 5.006, > },
Thanks for the idea. It's been proposed before... https://rt.cpan.org/Ticket/Display.html?id=28374 I'm fine with the idea as long as it's not adding to PREREQ_PM. I'm not a fan of adding extra special meanings to things. PREREQ_PM is the prerequisite perl modules and that's it. It'll need a new key. PREREQ_PERL is one idea. So is MIN_PERL_VERSION. I don't really have a strong preference one way or the other. There's a patch in that ticket, it never got finished. You might want to work off of that. -- ...they shared one last kiss that left a bitter yet sweet taste in her mouth--kind of like throwing up after eating a junior mint. -- Dishonorable Mention, 2005 Bulwer-Lytton Fiction Contest by Tami Farmer