detaint version, if needed (RT#88576, Chris Williams)
[p5sagit/Module-Metadata.git] / Makefile.PL
index 561a699..8717afd 100644 (file)
@@ -1,6 +1,7 @@
 use strict;
 use warnings FATAL => 'all';
 use ExtUtils::MakeMaker;
+use 5.006;
 
 (do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml';
 
@@ -9,6 +10,7 @@ WriteMakefile(
   VERSION_FROM => 'lib/Module/Metadata.pm',
   ABSTRACT_FROM => 'lib/Module/Metadata.pm',
   LICENSE => 'perl',
+  MIN_PERL_VERSION => '5.006',
   PREREQ_PM => {
     'Carp'        => 0,
     'File::Find'  => 0,
@@ -23,7 +25,6 @@ WriteMakefile(
       ? ( 'IO::Scalar' => 0 )
       : ()
     ,
-    'perl'        => '5.006',
   },
   META_MERGE => {
     'meta-spec' => { version => 2 },