From: Vincent Pit Date: Sun, 4 Oct 2009 07:31:53 +0000 (+0200) Subject: Put prerequisites in their own separate hash X-Git-Tag: v0.03~8 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=b7b0e980395fa13415f157ac8e1361924957367c;p=perl%2Fmodules%2FAcme-CPANAuthors-You-re_using.git Put prerequisites in their own separate hash --- diff --git a/Makefile.PL b/Makefile.PL index 1cc39e7..e6b205e 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -4,6 +4,12 @@ use ExtUtils::MakeMaker; my $dist = 'Acme-CPANAuthors-You-re_using'; +my %PREREQ_PM = ( + 'Acme::CPANAuthors' => 0, + 'Carp' => 0, + 'ExtUtils::Installed' => 0, +); + my %META = ( configure_requires => { 'ExtUtils::MakeMaker' => 0, @@ -12,6 +18,7 @@ my %META = ( 'Acme::CPANAuthors' => 0, 'ExtUtils::MakeMaker' => 0, 'Test::More' => 0, + %PREREQ_PM, }, dynamic_config => 0, resources => { @@ -29,11 +36,7 @@ WriteMakefile( VERSION_FROM => 'lib/Acme/CPANAuthors/You/re_using.pm', ABSTRACT_FROM => 'lib/Acme/CPANAuthors/You/re_using.pm', PL_FILES => {}, - PREREQ_PM => { - 'Acme::CPANAuthors' => 0, - 'Carp' => 0, - 'ExtUtils::Installed' => 0, - }, + PREREQ_PM => \%PREREQ_PM, MIN_PERL_VERSION => 5.006, META_MERGE => \%META, dist => {