Skip Menu |

This queue is for tickets about the YAML-Syck CPAN distribution.

Report information
The Basics
Id: 26120
Status: resolved
Priority: 0/
Queue: YAML-Syck

People
Owner: Nobody in particular
Requestors: rjbs [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: (no value)
Fixed in: (no value)



Subject: relies on 5.8 feature of B::Deparse, breaking 5.6 compat
3-objects.t tests serialiation of a blessed coderef, which leads to calling B::Deparse's coderef2text method. In 5.6's B::Deparse (which is *not* dual-life) coderef2text does "ref $x eq 'CODE'" so it can not handle blessed code. (This is fixed in 5.8 by using 'isa'.) I can give you a patch to skip that test and leave out the feature on 5.6, or to do something hateful and clever like temporarily reblessing or damning. It's quite a shame not to have YAML::Syck on 5.6, where it seems to work otherwise. -- rjbs
Fixed (as of YAML::Syck 1.01).