]> git.vpit.fr Git - perl/modules/IPC-MorseSignals.git/commitdiff
Put prerequisites in their own separate hash
authorVincent Pit <vince@profvince.com>
Sun, 4 Oct 2009 07:39:29 +0000 (09:39 +0200)
committerVincent Pit <vince@profvince.com>
Sun, 4 Oct 2009 07:39:29 +0000 (09:39 +0200)
Makefile.PL

index 824ce4daad36a036e13c3dc87bc6d6f45a498014..677bb22b9a5baf17791c4603430c34fd09f9d2a9 100644 (file)
@@ -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             => {