use
5.006000;
my
%WriteMakefileArgs
= (
"ABSTRACT"
=>
"A useful base class"
,
"AUTHOR"
=>
"Stevan Little <stevan\@cpan.org>"
,
"CONFIGURE_REQUIRES"
=> {
"ExtUtils::MakeMaker"
=> 0
},
"DISTNAME"
=>
"UNIVERSAL-Object"
,
"LICENSE"
=>
"perl"
,
"MIN_PERL_VERSION"
=>
"5.006000"
,
"NAME"
=>
"UNIVERSAL::Object"
,
"PREREQ_PM"
=> {
"Carp"
=> 0
},
"TEST_REQUIRES"
=> {
"Test::More"
=> 0
},
"VERSION"
=>
"0.07"
,
"test"
=> {
"TESTS"
=>
"t/*.t t/010-object/*.t t/020-slots/*.t t/030-instance/*.t t/040-immutable/*.t t/100-examples/*.t"
}
);
my
%FallbackPrereqs
= (
"Carp"
=> 0,
"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) };
if
($] < 5.010) {
$WriteMakefileArgs
{PREREQ_PM} = {
%{
$WriteMakefileArgs
{PREREQ_PM} },
"MRO::Compat"
=>
"0"
,
};
}
WriteMakefile(
%WriteMakefileArgs
);