my
%module_build_args
= (
"build_requires"
=> {
"Module::Build"
=>
"0.28"
},
"configure_requires"
=> {
"Module::Build"
=>
"0.28"
},
"dist_abstract"
=>
"Measure HTTP stats on each request"
,
"dist_author"
=> [
"Thomas Klausner <domm\@plix.at>"
],
"dist_name"
=>
"Plack-Middleware-StatsPerRequest"
,
"dist_version"
=>
"0.902"
,
"license"
=>
"perl"
,
"module_name"
=>
"Plack::Middleware::StatsPerRequest"
,
"recursive_test_files"
=> 1,
"requires"
=> {
"HTTP::Headers::Fast"
=> 0,
"Log::Any"
=> 0,
"Measure::Everything"
=>
"1.002"
,
"Plack::Middleware"
=> 0,
"Plack::Request"
=> 0,
"Plack::Util::Accessor"
=> 0,
"Time::HiRes"
=> 0,
"parent"
=> 0,
"perl"
=>
"5.010"
},
"test_requires"
=> {
"File::Spec"
=> 0,
"File::Temp"
=> 0,
"FindBin"
=> 0,
"HTTP::Request::Common"
=> 0,
"IO::Handle"
=> 0,
"IPC::Open3"
=> 0,
"Log::Any::Test"
=> 0,
"Measure::Everything::Adapter"
=> 0,
"Plack::Builder"
=> 0,
"Plack::Test"
=> 0,
"Test::More"
=> 0
}
);
my
%fallback_build_requires
= (
"File::Spec"
=> 0,
"File::Temp"
=> 0,
"FindBin"
=> 0,
"HTTP::Request::Common"
=> 0,
"IO::Handle"
=> 0,
"IPC::Open3"
=> 0,
"Log::Any::Test"
=> 0,
"Measure::Everything::Adapter"
=> 0,
"Module::Build"
=>
"0.28"
,
"Plack::Builder"
=> 0,
"Plack::Test"
=> 0,
"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;