use strict;
use 5.008;
my %WriteMakefileArgs = (
"ABSTRACT" => "Flip text upside-down using Unicode",
"AUTHOR" => "Mike Doherty <doherty\@cpan.org>, Marcel Gr\303\274nauer <marcel\@cpan.org>",
"BUILD_REQUIRES" => {
"Module::Build" => "0.3601"
},
"CONFIGURE_REQUIRES" => {
"Module::Build" => "0.3601"
},
"DISTNAME" => "Text-UpsideDown",
"EXE_FILES" => [
"bin/ud"
],
"LICENSE" => "perl",
"NAME" => "Text::UpsideDown",
"PREREQ_PM" => {
"Exporter" => 0,
"Getopt::Long" => 0,
"Pod::Usage" => 0,
"charnames" => 0,
"open" => 0,
"strict" => 0,
"utf8" => 0,
"warnings" => 0
},
"TEST_REQUIRES" => {
"Capture::Tiny" => 0,
"File::Spec" => 0,
"IPC::Run3" => 0,
"Test::More" => "0.88",
"Test::Script" => "1.05"
},
"VERSION" => "1.22",
"test" => {
"TESTS" => "t/*.t"
}
);
unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
my $tr = delete $WriteMakefileArgs{TEST_REQUIRES};
my $br = $WriteMakefileArgs{BUILD_REQUIRES};
for my $mod ( keys %$tr ) {
if ( exists $br->{$mod} ) {
$br->{$mod} = $tr->{$mod} if $tr->{$mod} > $br->{$mod};
}
else {
$br->{$mod} = $tr->{$mod};
}
}
}
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);