From: Vincent Pit Date: Sun, 4 Oct 2009 07:44:01 +0000 (+0200) Subject: Put prerequisites in their own separate hash X-Git-Tag: v0.07~30 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=80c5f5cb3ac557c026055ff72f7211f2532f79db;p=perl%2Fmodules%2FScalar-Vec-Util.git Put prerequisites in their own separate hash --- diff --git a/Makefile.PL b/Makefile.PL index 69b1bfe..e249569 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -74,6 +74,13 @@ if (not is_little_endian()) { my $dist = 'Scalar-Vec-Util'; +my %PREREQ_PM = ( + 'Exporter' => 0, + 'Carp' => 0, + 'XSLoader' => 0, + 'base' => 0, +); + my %META = ( configure_requires => { 'Config' => 0, @@ -84,6 +91,7 @@ my %META = ( 'Config' => 0, 'ExtUtils::MakeMaker' => 0, 'Test::More' => 0, + %PREREQ_PM, }, dynamic_config => 1, resources => { @@ -103,12 +111,7 @@ WriteMakefile( PL_FILES => {}, C => \@C, @DEFINES, - PREREQ_PM => { - 'Exporter' => 0, - 'Carp' => 0, - 'XSLoader' => 0, - 'base' => 0, - }, + PREREQ_PM => \%PREREQ_PM, MIN_PERL_VERSION => 5.006, META_MERGE => \%META, dist => {