Subject: | Encode.pm version can be non numeric |
Hi,
since Encode.pm version can be non-numeric (ie 2.42_01), I've written
tis little patch.
Best regards,
Xavier
--- libtext-csv-xs-perl-0.93.orig/t/70_rt.t
+++ libtext-csv-xs-perl-0.93/t/70_rt.t
@@ -409,7 +409,8 @@ SKIP: { # http://rt.cpan.org/Ticket/Di
SKIP: { # http://rt.cpan.org/Ticket/Display.html?id=80680
$] < 5.008002 and skip "UTF8 unreliable in perl $]",
20000;
- $Encode::VERSION < 2.47 and skip "Encode is too old for these
tests", 20000;
+ $Encode::VERSION =~ /^([\d\.]+)/;
+ $1 < 2.47 and skip "Encode is too old for these tests", 20000;
$rt = "80680"; # Text::CSV_XS produces garbage on some data