Subject: | perl 5.8.8 has problems with yaml-tie.t, just like 5.8.[67] |
Part of yaml-tie.t is skipped with perl 5.8.[67] but this needs to be
extended to 5.8.8 too.
Example:
http://www.cpantesters.org/cpan/report/07646655-b19f-3f77-b713-d32bba55d77f
I see the same issue building Fedora Linux releases 5, 6, 7 and 8, which
are the four releases that shipped with 5.8.8.
Attached patch resolves the issue for me, and resulting module builds
successfully on Red Hat Linux 9, all Fedora releases ever plus current
Fedora 14 and Rawhide trees, plus Red Hat Enterprise Linux releases 3,
4, 5 and 6beta2.
Subject: | YAML-Syck-1.11-yaml-tie-5.8.8.patch |
--- YAML-Syck-1.11/t/yaml-tie.t 2010-08-03 15:56:52.000000000 +0100
+++ YAML-Syck-1.11/t/yaml-tie.t 2010-08-04 10:31:11.238393145 +0100
@@ -18,7 +18,7 @@
%h = (a=>1, b=>'2', c=>3.1415, d=>4);
SKIP: {
- skip "Perl 5.8.[67] seem to have issues with large ints as ints", 1 unless($] >= '5.008008' || $] < '5.007');
+ skip "Perl 5.8.[678] seem to have issues with large ints as ints", 1 unless($] > '5.008008' || $] < '5.007');
is(Dump($th), "--- !!perl/hash:Tie::StdHash \na: 1\nb: 2\nc: '3.1415'\nd: 4\n");
}