# $Header: /home/fergal/my/cvs/Test-Deep/Makefile.PL,v 1.1.1.1 2004/08/06 20:29:55 fergal Exp $ use ExtUtils::MakeMaker; # this ugliness comes from cinompatibility of certain versions of # Test::Tester with certain version of Test::Builder. The problem is # that people might have an old TT lying around and are also likely to # have quite a new TB. This detects that situation and hopefully # demands an install of a newer TT. my $tt_prereq = "0.04"; if (eval { require Test::Tester; require Test::Builder; 1 } && $Test::Tester::VERSION <= 0.106 && $Test::Builder::VERSION >= 0.78) { $tt_prereq = "0.107"; } WriteMakefile( AUTHOR => 'Fergal Daly ', NAME => 'Test::Deep', VERSION_FROM => './lib/Test/Deep.pm', INSTALLDIRS => 'perl', PREREQ_PM => { Test::More => '0', Test::Tester => $tt_prereq, Test::NoWarnings => '0.02', Scalar::Util => '1.09', List::Util => '1.09', # apparently CPAN doesn't get the version of Scalar::Util } );