use strict; use ExtUtils::MakeMaker; use 5.00503; # This is so stupid! We need to make sure that Email::MIME, a downstream # module, is running a version that doesn't screw around with the guts of # Email::Simple. my @prereq; if (eval { require Email::MIME }) { unless (eval { Email::MIME->VERSION(1.857) }) { warn < 'Email::Simple', VERSION_FROM => 'lib/Email/Simple.pm', (eval { ExtUtils::MakeMaker->VERSION(6.21) } ? (LICENSE => 'perl') : ()), PREREQ_PM => { @prereq, 'Test::More' => '0.47', }, );