use
5.016000;
my
%WriteMakefileArgs
= (
"ABSTRACT"
=>
"Program in YAML \x{2014} Code is Data"
,
"AUTHOR"
=>
"Ingy d\x{f6}t Net <ingy\@ingy.net>"
,
"BUILD_REQUIRES"
=> {
"Alien::Build"
=>
"0.32"
,
"Alien::Build::MM"
=>
"0.32"
,
"ExtUtils::MakeMaker"
=>
"6.52"
},
"CONFIGURE_REQUIRES"
=> {
"Alien::Build"
=>
"0.32"
,
"Alien::Build::MM"
=>
"0.32"
,
"Alien::Build::Plugin::Download::GitHub"
=>
"0.10"
,
"ExtUtils::MakeMaker"
=>
"6.52"
},
"DISTNAME"
=>
"Alien-YAMLScript"
,
"LICENSE"
=>
"perl"
,
"MIN_PERL_VERSION"
=>
"5.016000"
,
"NAME"
=>
"Alien::YAMLScript"
,
"PREREQ_PM"
=> {
"Cpanel::JSON::XS"
=>
"4.37"
},
"TEST_REQUIRES"
=> {
"Test2::V0"
=>
"0.000159"
,
"Test::Alien"
=>
"2.8"
},
"VERSION"
=>
"0.1.70"
,
"test"
=> {
"TESTS"
=>
"t/*.t"
}
);
my
%FallbackPrereqs
= (
"Alien::Build"
=>
"0.32"
,
"Alien::Build::MM"
=>
"0.32"
,
"Cpanel::JSON::XS"
=>
"4.37"
,
"ExtUtils::MakeMaker"
=>
"6.52"
,
"Test2::V0"
=>
"0.000159"
,
"Test::Alien"
=>
"2.8"
);
my
$abmm
= Alien::Build::MM->new;
%WriteMakefileArgs
=
$abmm
->mm_args(
%WriteMakefileArgs
);
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
);
{
package
MY;
sub
postamble {
$abmm
->mm_postamble(
@_
);
}
sub
install {
$abmm
->can(
'mm_install'
)
?
$abmm
->mm_install(
@_
)
:
shift
->SUPER::install(
@_
);
}
}