A bug in perl 5.6, some interaction between "use utf8" and regexps,
is causing false test failures for DateTime on 5.6.  Attached patch fixes.

-zefram
diff -ur DateTime-0.53.orig/t/13strftime.t DateTime-0.53.mod0/t/13strftime.t
--- DateTime-0.53.orig/t/13strftime.t   2009-12-06 21:14:20.000000000 +0000
+++ DateTime-0.53.mod0/t/13strftime.t   2010-01-14 21:26:38.000000000 +0000
@@ -39,7 +39,7 @@
         next;
     }
 
-    my ($fmt, $res) = split /[ ]{2}/, $line, 2;
+    my ($fmt, $res) = split /  /, $line, 2;
 
     if ( $fmt eq '%A' && $locale eq 'it' && $] >= 5.006 && $] <= 5.008 )
     {

Reply via email to