Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Is YAML reliable on big files?

by YuckFoo (Abbot)
on Sep 09, 2005 at 21:04 UTC ( #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;


Comment on Re: Is YAML reliable on big files?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2014-08-23 03:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (171 votes), past polls