Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Is YAML reliable on big files?

by YuckFoo (Abbot)
on Sep 09, 2005 at 21:04 UTC ( [id://490756]=note: print w/replies, xml ) Need Help??


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;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://490756]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (6)
As of 2024-03-28 21:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found