my
%module_build_args
= (
"build_requires"
=> {
"Module::Build"
=>
"0.28"
},
"configure_requires"
=> {
"ExtUtils::MakeMaker"
=> 0,
"Module::Build"
=>
"0.28"
},
"dist_abstract"
=>
"Slice-like operations on lists"
,
"dist_author"
=> [
"Doug Bell <preaction\@cpan.org>"
],
"dist_name"
=>
"List-Slice"
,
"dist_version"
=>
"0.001"
,
"license"
=>
"perl"
,
"module_name"
=>
"List::Slice"
,
"recommends"
=> {},
"recursive_test_files"
=> 1,
"requires"
=> {
"perl"
=>
"5.006"
},
"script_files"
=> [],
"test_requires"
=> {
"ExtUtils::MakeMaker"
=> 0,
"File::Spec"
=> 0,
"IO::Handle"
=> 0,
"IPC::Open3"
=> 0,
"Test::More"
=> 0
}
);
my
%fallback_build_requires
= (
"ExtUtils::MakeMaker"
=> 0,
"File::Spec"
=> 0,
"IO::Handle"
=> 0,
"IPC::Open3"
=> 0,
"Module::Build"
=>
"0.28"
,
"Test::More"
=> 0
);
unless
(
eval
{ Module::Build->VERSION(0.4004) } ) {
delete
$module_build_args
{test_requires};
$module_build_args
{build_requires} = \
%fallback_build_requires
;
}
my
$build
= Module::Build->new(
%module_build_args
);
$build
->create_build_script;