|
my %WriteMakefileArgs = (
"ABSTRACT" => "NationBuilder API bindings" ,
"AUTHOR" => "Ali Anari <ali\@anari.me>" ,
"BUILD_REQUIRES" => {},
"CONFIGURE_REQUIRES" => {
"ExtUtils::MakeMaker" => "6.30"
},
"DISTNAME" => "WebService-NationBuilder" ,
"EXE_FILES" => [],
"LICENSE" => "perl" ,
"NAME" => "WebService::NationBuilder" ,
"PREREQ_PM" => {
"Carp" => 0,
"HTTP::Request::Common" => 0,
"JSON" => 0,
"LWP::UserAgent" => 0,
"List::Util" => "1.35" ,
"Log::Any" => 0,
"Moo" => 0,
"Moo::Role" => 0,
"Try::Tiny" => 0,
"strict" => 0,
"warnings" => 0
},
"TEST_REQUIRES" => {
"Log::Any::Adapter" => 0,
"Log::Dispatch" => 0,
"Test::Most" => 0
},
"VERSION" => "0.0100" ,
"test" => {
"TESTS" => "t/*.t"
}
);
my %FallbackPrereqs = (
"Carp" => 0,
"HTTP::Request::Common" => 0,
"JSON" => 0,
"LWP::UserAgent" => 0,
"List::Util" => "1.35" ,
"Log::Any" => 0,
"Log::Any::Adapter" => 0,
"Log::Dispatch" => 0,
"Moo" => 0,
"Moo::Role" => 0,
"Test::Most" => 0,
"Try::Tiny" => 0,
"strict" => 0,
"warnings" => 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 );
|