From: Vincent Pit Date: Sun, 4 Oct 2009 07:39:29 +0000 (+0200) Subject: Put prerequisites in their own separate hash X-Git-Tag: v0.16~14 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=36723b9ff8a22417d08eff535083870e27e7aeb1;p=perl%2Fmodules%2FIPC-MorseSignals.git Put prerequisites in their own separate hash --- diff --git a/Makefile.PL b/Makefile.PL index 824ce4d..677bb22 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -22,6 +22,14 @@ for (qw/USR1 USR2/) { my $dist = 'IPC-MorseSignals'; +my %PREREQ_PM = ( + 'Bit::MorseSignals' => 0.05, + 'Carp' => 0, + 'POSIX' => 0, + 'Time::HiRes' => 0, + 'base' => 0, +); + my %META = ( configure_requires => { 'Config' => 0, @@ -35,6 +43,7 @@ my %META = ( 'ExtUtils::MakeMaker' => 0, 'POSIX' => 0, 'Test::More' => 0, + %PREREQ_PM, }, dynamic_config => 1, resources => { @@ -52,13 +61,7 @@ WriteMakefile( VERSION_FROM => 'lib/IPC/MorseSignals.pm', ABSTRACT_FROM => 'lib/IPC/MorseSignals.pm', PL_FILES => {}, - PREREQ_PM => { - 'Bit::MorseSignals' => 0.05, - 'Carp' => 0, - 'POSIX' => 0, - 'Time::HiRes' => 0, - 'base' => 0, - }, + PREREQ_PM => \%PREREQ_PM, MIN_PERL_VERSION => 5.008, META_MERGE => \%META, dist => {