From: Shawn M Moore Date: Sat, 7 Mar 2009 00:02:07 +0000 (+0000) Subject: Just always depend on Scalar::Util 1.14 X-Git-Tag: 0.19~15 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMouse.git;a=commitdiff_plain;h=ec53d6781e12b5df1e8c912ab5a5cd32df958f41 Just always depend on Scalar::Util 1.14 --- diff --git a/Makefile.PL b/Makefile.PL index 51bd426..5390167 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -5,11 +5,9 @@ all_from 'lib/Mouse.pm'; 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; -} +# 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::Exception'; build_requires 'Test::More';