Skip to content

Commit

Permalink
changed Makefile.PL for compat modules
Browse files Browse the repository at this point in the history
  • Loading branch information
makamaka committed Nov 3, 2010
1 parent 8047ed5 commit 86ef1a0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile.PL
Expand Up @@ -7,11 +7,18 @@ use lib qw( ./lib );
$| = 1;


my %prereq = $] < 5.006 ? ( 'JSON::PP::Compat5005' => 0 )
: $] < 5.008 ? ( 'JSON::PP::Compat5006' => 0 )
: ()
;


WriteMakefile(
'NAME' => 'JSON::PPdev',
'VERSION_FROM' => 'lib/JSON/PPdev.pm', # finds $VERSION
'PREREQ_PM' => {
'Test::More' => 0,
%prereq,
},
($] >= 5.005 ? ## Add these new keywords supported since 5.005
(ABSTRACT_FROM => 'lib/JSON/PPdev.pm', # retrieve abstract from module
Expand Down

0 comments on commit 86ef1a0

Please sign in to comment.