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

index 6abe9a72d479a6fb5321393bad5e326086770881..a464e2fe81936091cfa3fa198cc51413bfef8cec 100644 (file)
@@ -4,6 +4,11 @@ use ExtUtils::MakeMaker;
 
 my $dist = 'Regexp-Wildcards';
 
+my %PREREQ_PM = (
+ 'Carp'           => 0,
+ 'Text::Balanced' => 0,
+);
+
 my %META = (
  configure_requires => {
   'ExtUtils::MakeMaker' => 0,
@@ -11,6 +16,7 @@ my %META = (
  build_requires => {
   'ExtUtils::MakeMaker' => 0,
   'Test::More'          => 0,
+  %PREREQ_PM,
  },
  dynamic_config => 0,
  resources => {
@@ -28,10 +34,7 @@ WriteMakefile(
     VERSION_FROM     => 'lib/Regexp/Wildcards.pm',
     ABSTRACT_FROM    => 'lib/Regexp/Wildcards.pm',
     PL_FILES         => {},
-    PREREQ_PM        => {
-        'Carp'           => 0,
-        'Text::Balanced' => 0,
-    },
+    PREREQ_PM        => \%PREREQ_PM,
     MIN_PERL_VERSION => 5.006,
     META_MERGE       => \%META,
     dist             => {