in reply to Re^2: YAML::XS Load/LoadFile error
in thread YAML::XS Load/LoadFile error

Bugs are annoying, but pathetic? That's an odd characterisation, especially considering we have no idea what the bug is.

Line 262 is a blank line. It's surely coming from what I see as line 265:

/* Get each key string and value node and put them in the hash */ while ((key_node = load_node(loader))) { assert(SvPOK(key_node)); <--------------- value_node = load_node(loader); hv_store_ent( hash, key_node, value_node, 0 ); }

It's expecting load_node to return a scalar already containing a string, but a check finds it doesn't. What does that mean exactly? The module's author could probably tell you faster than I could.

Replies are listed 'Best First'.
Re^4: YAML::XS Load/LoadFile error
by halfcountplus (Hermit) on Oct 20, 2010 at 04:13 UTC
    Hmph. Made me wonder if 'undef' hash keys could be an issue but they test fine. Maybe I'll inquire. I have used this somewhat before, it always seemed simple and trouble free.