X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=3170ceeadad03edad1ff92437347734f4882fc00;hb=56be135d2a8975f724deddf9814446b385985d66;hp=095fb2ed0ac2affe3cf47eb42ccdee3b90217bd7;hpb=98bbe659842bc1f47cce1f3a566f1738d477bcc0;p=gitmo%2FMouse.git diff --git a/Makefile.PL b/Makefile.PL index 095fb2e..3170cee 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,4 +1,5 @@ use inc::Module::Install; +use 5.008; name 'Mouse'; all_from 'lib/Mouse.pm'; @@ -9,8 +10,8 @@ tests 't/*.t t/*/*.t'; # > Fixed looks_like_number(undef) to return false for perl >= 5.009002 requires 'Scalar::Util' => 1.14; -build_requires 'Test::Exception'; -build_requires 'Test::More'; +build_requires 'Test::Exception' => 0.21; +build_requires 'Test::More' => 0.80; if ($Module::Install::AUTHOR) { if (eval "package foo; use Moose; 1;") { @@ -74,6 +75,7 @@ sub create_moose_compatibility_test { close $rfh; $s; }; + $src =~ s/Mouse::is_class_loaded/Class::MOP::is_class_loaded/g; $src =~ s/Mouse/Moose/g; $src; };