in reply to specify minimum perl version with Makefile.PL?

The same way you should in your module, with use
use 5.6.1;
Unless you're certain of the requirement, you should avoid specifying a minimum version. Perl::MinimumVersion can help you find a minimum required version of perl for Perl code

Replies are listed 'Best First'.
Re^2: specify minimum perl version with Makefile.PL?
by Anonymous Monk on Jan 14, 2010 at 09:04 UTC
      Thank you -- that might have brought me on the right track. When I include this in Makefile.PL I get the message "WARNING: MIN_PERL_VERSION is not a known parameter.". However searching for the parameter I found http://wiki.cpantesters.org/wiki/CPANAuthorNotes so I am now using a simple use 5.008001; at the start of Makefile.PL.

      I do not understand why using MIN_PERL_VERSION shows that message about an unknown parameter though.

        I do not understand why using MIN_PERL_VERSION shows that message

        Because your version of ExtUtils::MakeMaker is older than 6.48

        I am now using a simple use 5.008001; at the start of Makefile.PL.

        It's not as good since the info won't make into META.yml.

        Its because your copy of ExtUtils::MakeMaker doesn't support that option. App::EUMM::Upgrade can help you upgrade your Makefile.PL

        update: Hmm, MIN_PERL_VERSION - minimum version of Perl required for module work. Not used currently, but will be in the future.