my
%WriteMakefileArgs
= (
"ABSTRACT"
=>
"Collection of roles useful to MetaCPAN project"
,
"AUTHOR"
=>
"Leo Lapworth"
,
"CONFIGURE_REQUIRES"
=> {
"ExtUtils::MakeMaker"
=> 0
},
"DISTNAME"
=>
"MetaCPAN-Role"
,
"LICENSE"
=>
"perl"
,
"NAME"
=>
"MetaCPAN::Role"
,
"PREREQ_PM"
=> {
"Carp"
=> 0,
"CatalystX::Fastly::Role::Response"
=>
"0.04"
,
"Moose::Role"
=> 0,
"MooseX::Fastly::Role"
=>
"0.01"
,
"Net::Fastly"
=>
"1.05"
},
"TEST_REQUIRES"
=> {
"Test::More"
=> 0
},
"VERSION"
=>
"0.03"
,
"test"
=> {
"TESTS"
=>
"t/*.t"
}
);
my
%FallbackPrereqs
= (
"Carp"
=> 0,
"CatalystX::Fastly::Role::Response"
=>
"0.04"
,
"Moose::Role"
=> 0,
"MooseX::Fastly::Role"
=>
"0.01"
,
"Net::Fastly"
=>
"1.05"
,
"Test::More"
=> 0
);
unless
(
eval
{ ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
delete
$WriteMakefileArgs
{TEST_REQUIRES};
delete
$WriteMakefileArgs
{BUILD_REQUIRES};
$WriteMakefileArgs
{PREREQ_PM} = \
%FallbackPrereqs
;
}
delete
$WriteMakefileArgs
{CONFIGURE_REQUIRES}
unless
eval
{ ExtUtils::MakeMaker->VERSION(6.52) };
WriteMakefile(
%WriteMakefileArgs
);