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]
$ 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]