[Moose-commits] r7810 - Mouse/trunk

tokuhirom at code2.0beta.co.uk tokuhirom at code2.0beta.co.uk
Mon Mar 2 08:02:07 GMT 2009


Author: tokuhirom
Date: 2009-03-02 00:02:05 -0800 (Mon, 02 Mar 2009)
New Revision: 7810

Modified:
   Mouse/trunk/Makefile.PL
Log:
depend to Scalar::Util 1.14.
because Scalar::Util < 1.14 has a bug.

reported by bingos++, cosmicnet++, tomyhero++

Modified: Mouse/trunk/Makefile.PL
===================================================================
--- Mouse/trunk/Makefile.PL	2009-03-02 01:36:44 UTC (rev 7809)
+++ Mouse/trunk/Makefile.PL	2009-03-02 08:02:05 UTC (rev 7810)
@@ -5,8 +5,10 @@
 
 tests 't/*.t t/*/*.t';
 
-if ($] < 5.007003) {
-    requires 'Scalar::Util';
+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::Exception';




More information about the Moose-commits mailing list