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

index 5a1d869791d71dae5cdd95ae87ff7a3f9304ba66..be9b1284cfefc6a57715e5d4363a2b43e704677f 100644 (file)
@@ -4,6 +4,14 @@ use ExtUtils::MakeMaker;
 
 my $dist = 'Bit-MorseSignals';
 
+my %PREREQ_PM = (
+ 'Carp'     => 0,
+ 'Encode'   => 0,
+ 'Exporter' => 0,
+ 'Storable' => 0,
+ 'base'     => 0,
+);
+
 my %META = (
  configure_requires => {
   'ExtUtils::MakeMaker' => 0,
@@ -12,6 +20,7 @@ my %META = (
   'utf8'                => 0,
   'ExtUtils::MakeMaker' => 0,
   'Test::More'          => 0,
+  %PREREQ_PM,
  },
  dynamic_config => 0,
  resources => {
@@ -29,13 +38,7 @@ WriteMakefile(
     VERSION_FROM     => 'lib/Bit/MorseSignals.pm',
     ABSTRACT_FROM    => 'lib/Bit/MorseSignals.pm',
     PL_FILES         => {},
-    PREREQ_PM        => {
-        'Carp'     => 0,
-        'Encode'   => 0,
-        'Exporter' => 0,
-        'Storable' => 0,
-        'base'     => 0,
-    },
+    PREREQ_PM        => \%PREREQ_PM,
     MIN_PERL_VERSION => 5.008,
     META_MERGE       => \%META,
     dist             => {