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

ExtUtils::MakeMaker reccomends MIN_PERL_VERSION option.
  • Comment on Re^2: specify minimum perl version with Makefile.PL?

Replies are listed 'Best First'.
Re^3: specify minimum perl version with Makefile.PL?
by Anonymous Monk on Jan 14, 2010 at 09:59 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.

        I am using a standard perl install on Ubunutu 9.10, perl version is 5.10.0. So including MIN_PERL_VERSION won't achieve what I want on those versions where I need it in the first place :)

        It seems I have to use "use <version>" to make this work. However I could include the MIN_PERL_VERSION in addition and not worry about the warning that appears for the parameter in earlier versions of ExtUtils::MakeMaker.

      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.