Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 44464
Status: new
Priority: 0/
Queue: YAML-LibYAML

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

Bug Information
Severity: Important
Broken in: 0.32
Fixed in: (no value)



Subject: Dumping (dummy) code refs does not round trip (and dies)
If you dump a code ref with YAML::XS, it works and produces: --- !!perl/code '{ "DUMMY" }' If you try to load that again, you get a fatal error: YAML::XS Error: bad tag found for scalar: 'tag:yaml.org,2002:perl/code' at -e line 1. Shortest example: perl -MYAML::XS -e 'my $c=sub{}; my $l = YAML::XS::Load(YAML::XS::Dump($c));' Best regards, Steffen