Subject: | Roundtrip failure (problematic hash key?) |
The attached script fails with YAML.pm with the message:
YAML Error: Couldn't parse single line value
Code: YAML_PARSE_ERR_SINGLE_LINE
Line: 2
Document: 1
at /usr/local/lib/perl5/site_perl/5.8.8/YAML.pm line 33
Exitcode 255
With YAML::Syck it works as expected.
Regards,
Slaven
Subject: | yamlbug.pl |
#!/usr/bin/perl -w
use YAML qw(Load Dump);
#use YAML::Syck qw(Load Dump);
$x = [{'gegen die Einbahnstraßenrichtung, ggfs. schieben' => 1}];
Load Dump $x;
__END__