From: Nicholas Clark Date: Thu, 14 Apr 2011 19:08:22 +0000 (+0100) Subject: Enforce the minimum perl version requirement in the Makefile.PL X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9b8e6254a7ddb9bf0585b3ef3deac65f10e6e1dd;p=p5sagit%2FDevel-Size.git Enforce the minimum perl version requirement in the Makefile.PL This inform CPAN smokers to skip testing on earlier perl versions. --- diff --git a/Makefile.PL b/Makefile.PL index 633ab1c..c5aea47 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,6 +1,8 @@ +use 5.008; use ExtUtils::MakeMaker; WriteMakefile( NAME => 'Devel::Size', VERSION_FROM => 'lib/Devel/Size.pm', + ($ExtUtils::MakeMaker::VERSION >= 6.47 ? (MIN_PERL_VERSION => '5.008') : ()), );