From: Vincent Pit Date: Sun, 4 Oct 2009 07:33:39 +0000 (+0200) Subject: Put prerequisites in their own separate hash X-Git-Tag: rt63842~13 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=882ebdf93e728944adc85a1174b7bc9e37eb6d62;p=perl%2Fmodules%2FB-RecDeparse.git Put prerequisites in their own separate hash --- diff --git a/Makefile.PL b/Makefile.PL index ec0fcbb..1b32a32 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -6,6 +6,13 @@ use ExtUtils::MakeMaker; my $dist = 'B-RecDeparse'; +my %PREREQ_PM = ( + 'B::Deparse' => 0, + 'Config' => 0, + 'Carp' => 0, + 'base' => 0, +); + my %META = ( configure_requires => { 'ExtUtils::MakeMaker' => 0, @@ -13,6 +20,7 @@ my %META = ( build_requires => { 'ExtUtils::MakeMaker' => 0, 'Test::More' => 0, + %PREREQ_PM, }, dynamic_config => 0, resources => { @@ -30,12 +38,7 @@ WriteMakefile( VERSION_FROM => 'lib/B/RecDeparse.pm', ABSTRACT_FROM => 'lib/B/RecDeparse.pm', PL_FILES => {}, - PREREQ_PM => { - 'B::Deparse' => 0, - 'Config' => 0, - 'Carp' => 0, - 'base' => 0, - }, + PREREQ_PM => \%PREREQ_PM, MIN_PERL_VERSION => 5.008, META_MERGE => \%META, dist => {