|
use 5.010001;
my %WriteMakefileArgs = (
"ABSTRACT" => "A C<DBI> extension" ,
"AUTHOR" => "Iain Campbell <cpanic\@cpan.org>" ,
"CONFIGURE_REQUIRES" => {
"ExtUtils::MakeMaker" => 0
},
"DISTNAME" => "DBIx-Squirrel" ,
"LICENSE" => "perl" ,
"MIN_PERL_VERSION" => "5.010001" ,
"NAME" => "DBIx::Squirrel" ,
"PREREQ_PM" => {
"Carp" => 0,
"DBI" => 0,
"Data::Dumper" => 0,
"Devel::GlobalDestruction" => 0,
"Digest::SHA" => 0,
"Exporter" => 0,
"JSON::Syck" => 0,
"Memoize" => 0,
"Scalar::Util" => 0,
"Sub::Name" => 0,
"YAML::Syck" => 0,
"constant" => 0,
"namespace::clean" => 0,
"strict" => 0,
"warnings" => 0
},
"TEST_REQUIRES" => {
"Cwd" => 0,
"DBD::Mock" => 0,
"DBD::SQLite" => 0,
"FindBin" => 0,
"Test::Compile" => 0,
"Test::Exception" => 0,
"Test::MockModule" => 0,
"Test::More" => 0,
"Test::More::UTF8" => 0,
"Test::Warn" => 0,
"Test::Warnings" => 0,
"lib" => 0
},
"VERSION" => "1.4.1_1" ,
"test" => {
"TESTS" => "t/*.t"
}
);
my %FallbackPrereqs = (
"Carp" => 0,
"Cwd" => 0,
"DBD::Mock" => 0,
"DBD::SQLite" => 0,
"DBI" => 0,
"Data::Dumper" => 0,
"Devel::GlobalDestruction" => 0,
"Digest::SHA" => 0,
"Exporter" => 0,
"FindBin" => 0,
"JSON::Syck" => 0,
"Memoize" => 0,
"Scalar::Util" => 0,
"Sub::Name" => 0,
"Test::Compile" => 0,
"Test::Exception" => 0,
"Test::MockModule" => 0,
"Test::More" => 0,
"Test::More::UTF8" => 0,
"Test::Warn" => 0,
"Test::Warnings" => 0,
"YAML::Syck" => 0,
"constant" => 0,
"lib" => 0,
"namespace::clean" => 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 );
|