note
YuckFoo
[zentara], <p>
I don't think YAML's unreliability has anything to do with the size of structures. Parsing YAML seems to be too difficult for YAML.<p>
YamlFoo<p>
<code>
#!/usr/bin/perl
use strict;
use Data::Dumper;
use YAML qw(Dump Load);
my $before = {
ok => [
{one => 1},
{two => 2},
],
not_ok => [
{-one => 1},
{-two => 2},
],
};
my $after = Load(Dump($before));
print Dumper $before;
print Dumper $after;
</code>
490542
490542