Skip Menu | will be shut down on March 1st, 2021.

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

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

Owner: Nobody in particular
Requestors: rjbs [...]

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
Download (untitled) / with headers
text/plain 519b
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).

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to