use strict; use warnings; use ExtUtils::MakeMaker 6.30; my %WriteMakefileArgs = ( "ABSTRACT" => "My default dzil plugins", "AUTHOR" => "Glenn Fowler ", "BUILD_REQUIRES" => { "Test::DZil" => 0, "Test::More" => 0 }, "CONFIGURE_REQUIRES" => { "ExtUtils::MakeMaker" => "6.30" }, "DISTNAME" => "Dist-Zilla-PluginBundle-CEBJYRE", "EXE_FILES" => [], "LICENSE" => "perl", "NAME" => "Dist::Zilla::PluginBundle::CEBJYRE", "PREREQ_PM" => { "Dist::Zilla::Plugin::AutoPrereqs" => 0, "Dist::Zilla::Plugin::CheckPrereqsIndexed" => 0, "Dist::Zilla::Plugin::NextRelease" => 0, "Dist::Zilla::Plugin::PkgVersion" => 0, "Dist::Zilla::Plugin::PodCoverageTests" => 0, "Dist::Zilla::Plugin::PodSyntaxTests" => 0, "Dist::Zilla::Plugin::PodWeaver" => 0, "Dist::Zilla::PluginBundle::Basic" => 0, "Dist::Zilla::PluginBundle::Git" => 0, "Dist::Zilla::Role::PluginBundle::Easy" => 0, "Moose" => 0, "strict" => 0, "warnings" => 0 }, "VERSION" => "0.3.0", "test" => { "TESTS" => "t/*.t" } ); unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) { my $br = delete $WriteMakefileArgs{BUILD_REQUIRES}; my $pp = $WriteMakefileArgs{PREREQ_PM}; for my $mod ( keys %$br ) { if ( exists $pp->{$mod} ) { $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod}; } else { $pp->{$mod} = $br->{$mod}; } } } delete $WriteMakefileArgs{CONFIGURE_REQUIRES} unless eval { ExtUtils::MakeMaker->VERSION(6.52) }; WriteMakefile(%WriteMakefileArgs);