use strict; use warnings; use ExtUtils::MakeMaker 6.30; my %WriteMakefileArgs = ( "ABSTRACT" => "Author tests making sure correct line endings are used", "AUTHOR" => "Florian Ragwitz , Caleb Cushing ", "BUILD_REQUIRES" => { "English" => 0, "File::Find" => 0, "File::Temp" => 0, "Test::DZil" => 0, "Test::More" => "0.88", "Test::Requires" => 0, "Test::Script" => "1.05", "strict" => 0, "warnings" => 0 }, "CONFIGURE_REQUIRES" => { "ExtUtils::MakeMaker" => "6.30" }, "DISTNAME" => "Dist-Zilla-Plugin-Test-EOL", "EXE_FILES" => [], "LICENSE" => "artistic_2", "NAME" => "Dist::Zilla::Plugin::Test::EOL", "PREREQ_PM" => { "Dist::Zilla::Plugin::InlineFiles" => 0, "Dist::Zilla::Role::TextTemplate" => 0, "Moose" => 0, "Test::EOL" => "1.1", "namespace::autoclean" => 0 }, "VERSION" => "0.06", "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);