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

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

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



Subject: No implicit typing for "yes" and "no"?
It is the basic feature/characteristic of YAML after all.

$ perl -MYAML::XS -MData::Dumper -le'$Data::Dumper::Indent=0; print Dumper Load("[yes, no, true, false]")'
$VAR1 = ['yes','no',1,''];

$ ruby -ryaml -e'p YAML::load("[yes, no, true, false]")'
[true, false, true, false]