X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=51bd426d257599d4ba25e29f02140eb9d5094fcd;hb=60f6eba91f12d48fa30a8e16abe2db8c95b4d878;hp=d6e9fe3cf0d7fa59f008d31f926433aa224dcc48;hpb=c3398f5bd45f2851b7cd40ca9823bcf7d2378469;p=gitmo%2FMouse.git diff --git a/Makefile.PL b/Makefile.PL index d6e9fe3..51bd426 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -3,13 +3,16 @@ use inc::Module::Install; name 'Mouse'; all_from 'lib/Mouse.pm'; -requires 'Sub::Exporter'; -requires 'Scalar::Util'; -requires 'MRO::Compat'; +tests 't/*.t t/*/*.t'; + +if ($] < 5.008004) { + # Scalar::Util < 1.14 has a bug. + # > Fixed looks_like_number(undef) to return false for perl >= 5.009002 + requires 'Scalar::Util' => 1.14; +} -build_requires 'Test::More'; build_requires 'Test::Exception'; -build_requires 'Test::Warn'; +build_requires 'Test::More'; +auto_include; WriteAll; -