halfcountplus has asked for the wisdom of the Perl Monks concerning the following question:
I haven't used YAML much, but it seems fairly straightforward and I would have assumed it has been playtested much. However, I have a configuration hash ref that saves via DumpFile (or Dump to string to file) but will not load:
Assertion ((key_node)->sv_flags & 0x00000400) failed: file "perl_libyaml.c", line 262 at /usr/local/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread-multi/YAML/XS.pm line 70, <$IN> line 1.
Which to me implies this is the first line of input.
Right now I don't see the point in throwing the whole hash construction up, since there is nothing wrong with that. Googling, I got no hits at all for this error (but also next to nothing about YAML::XS anyway, and the POD stuff is absurdly skimpy). So I am wondering if anyone knows anything about this -- since otherwise, I have nothing invested here and would just as soon use something else as fuss with something that should be pretty gosh darn simple (save/retrieve a 1000 byte hash of arrays and strings, etc).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: YAML::XS Load/LoadFile error
by ikegami (Patriarch) on Oct 20, 2010 at 03:10 UTC | |
by halfcountplus (Hermit) on Oct 20, 2010 at 03:22 UTC | |
by ikegami (Patriarch) on Oct 20, 2010 at 03:45 UTC | |
by halfcountplus (Hermit) on Oct 20, 2010 at 04:13 UTC |