http://qs321.pair.com?node_id=490756


in reply to Is YAML reliable on big files?

zentara,

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.

YamlFoo

#!/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;