use strict;
my %WriteMakefileArgs = (
'ABSTRACT' => 'Kind of emulates command line flag -Dt on normal perl',
'AUTHOR' => 'Josh Jore <jjore@cpan.org>',
'BUILD_REQUIRES' => {
'Test::More' => '0'
},
'CONFIGURE_REQUIRES' => {
'ExtUtils::MakeMaker' => '6.31'
},
'DISTNAME' => 'Devel-Dt',
'EXE_FILES' => [],
'LICENSE' => 'perl',
'NAME' => 'Devel::Dt',
'PREREQ_PM' => {
'B' => '0',
'B::Utils' => '0',
'IO::Handle' => '0',
'Runops::Trace' => '0'
},
'VERSION' => '0.04',
'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);