From: Vincent Pit Date: Sun, 4 Oct 2009 07:42:27 +0000 (+0200) Subject: Put prerequisites in their own separate hash X-Git-Tag: v1.04~9 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=cb193508230966ef49b25fd8a036ad0318b595a6;p=perl%2Fmodules%2FRegexp-Wildcards.git Put prerequisites in their own separate hash --- diff --git a/Makefile.PL b/Makefile.PL index 6abe9a7..a464e2f 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -4,6 +4,11 @@ use ExtUtils::MakeMaker; my $dist = 'Regexp-Wildcards'; +my %PREREQ_PM = ( + 'Carp' => 0, + 'Text::Balanced' => 0, +); + my %META = ( configure_requires => { 'ExtUtils::MakeMaker' => 0, @@ -11,6 +16,7 @@ my %META = ( build_requires => { 'ExtUtils::MakeMaker' => 0, 'Test::More' => 0, + %PREREQ_PM, }, dynamic_config => 0, resources => { @@ -28,10 +34,7 @@ WriteMakefile( VERSION_FROM => 'lib/Regexp/Wildcards.pm', ABSTRACT_FROM => 'lib/Regexp/Wildcards.pm', PL_FILES => {}, - PREREQ_PM => { - 'Carp' => 0, - 'Text::Balanced' => 0, - }, + PREREQ_PM => \%PREREQ_PM, MIN_PERL_VERSION => 5.006, META_MERGE => \%META, dist => {