1{ use 5.006; } 2 3use ExtUtils::MakeMaker; 4 5WriteMakefile( 6 NAME => 'Math::Complex', 7 VERSION_FROM => 'lib/Math/Complex.pm', 8 INSTALLDIRS => ( $] < 5.011 ? 'perl' : 'site' ), 9 PREREQ_PM => 10 { 11 'Config' => 0, 12 'Exporter' => 0, 13 'ExtUtils::MakeMaker' => 0, 14 'Scalar::Util' => '1.11', 15 'Test::More' => 0, 16 'overload' => 0, 17 'strict' => 0, 18 'warnings' => 0, 19 }, 20 ($ExtUtils::MakeMaker::VERSION >= 6.3002 ? 21 ('LICENSE'=> 'perl_5', ) : ()), 22 ); 23