my
%WriteMakefileArgs
= (
"ABSTRACT"
=>
"Easy access to Shutterstock's public API"
,
"AUTHOR"
=>
"Brian Phillips <bphillips\@cpan.org>"
,
"BUILD_REQUIRES"
=> {
"File::Find"
=> 0,
"File::Temp"
=> 0,
"Test::MockModule"
=> 0,
"Test::More"
=> 0
},
"CONFIGURE_REQUIRES"
=> {
"ExtUtils::MakeMaker"
=>
"6.30"
},
"DISTNAME"
=>
"WebService-Shutterstock"
,
"EXE_FILES"
=> [],
"LICENSE"
=>
"perl"
,
"NAME"
=>
"WebService::Shutterstock"
,
"PREREQ_PM"
=> {
"Carp"
=> 0,
"JSON"
=> 0,
"LWP::Simple"
=> 0,
"MIME::Base64"
=> 0,
"Moo"
=> 1,
"Moo::Role"
=> 0,
"REST::Client"
=> 0,
"Sub::Exporter"
=> 0,
"overload"
=> 0,
"strict"
=> 0,
"version"
=> 0,
"warnings"
=> 0
},
"VERSION"
=>
"0.001"
,
"test"
=> {
"TESTS"
=>
"t/*.t"
}
);
unless
(
eval
{ ExtUtils::MakeMaker->VERSION(6.56) } ) {
my
$br
=
delete
$WriteMakefileArgs
{BUILD_REQUIRES};
my
$pp
=
$WriteMakefileArgs
{PREREQ_PM};
for
my
$mod
(
keys
%$br
) {
if
(
exists
$pp
->{
$mod
} ) {
$pp
->{
$mod
} =
$br
->{
$mod
}
if
$br
->{
$mod
} >
$pp
->{
$mod
};
}
else
{
$pp
->{
$mod
} =
$br
->{
$mod
};
}
}
}
delete
$WriteMakefileArgs
{CONFIGURE_REQUIRES}
unless
eval
{ ExtUtils::MakeMaker->VERSION(6.52) };
WriteMakefile(
%WriteMakefileArgs
);