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: 53684
Status: resolved
Priority: 0/
Queue: YAML-LibYAML

People
Owner: Nobody in particular
Requestors: cpan [...] fireartist.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.32
Fixed in: 0.67



Subject: booleans are readonly constants
YAML such as "key: true" becomes, in perl, "key: 1" which is expected. However this value is a readonly constant (PL_sv_yes) - this is done by LibYAML/perl_libyaml.c This causes problems when running the results of LoadFile() through Data::Visitor to munge the data. Is it necessary for this to be PL_sv_yes, rather than just a normal scalar?