X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FSub-Nary.git;a=blobdiff_plain;f=Makefile.PL;h=aaf42958f98d6901b9fc407e4884d10ab568a691;hp=f83bd21802ab4d1c6f8c9c86d6de3646d0ffc41e;hb=a9c414973d1c28519f4b527dffe0f2a45986e84a;hpb=73c6a3bf03454eb43bf2d439b90dfe924cecd87a diff --git a/Makefile.PL b/Makefile.PL index f83bd21..aaf4295 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -6,6 +6,12 @@ use ExtUtils::MakeMaker; my $dist = 'Sub-Nary'; +my %PREREQ_PM = ( + 'B' => 0, + 'Carp' => 0, + 'XSLoader' => 0, +); + my %META = ( configure_requires => { 'ExtUtils::MakeMaker' => 0, @@ -13,6 +19,7 @@ my %META = ( build_requires => { 'ExtUtils::MakeMaker' => 0, 'Test::More' => 0, + %PREREQ_PM, }, dynamic_config => 0, resources => { @@ -30,11 +37,7 @@ WriteMakefile( VERSION_FROM => 'lib/Sub/Nary.pm', ABSTRACT_FROM => 'lib/Sub/Nary.pm', PL_FILES => {}, - PREREQ_PM => { - 'B' => 0, - 'Carp' => 0, - 'XSLoader' => 0 - }, + PREREQ_PM => \%PREREQ_PM, MIN_PERL_VERSION => 5.008001, META_MERGE => \%META, dist => {