Ok, I installed Syck 0.55...

p YAML::load(YAML::dump("a"*4097))

"aaaaaaa[lots more a's]aaaaaaaaaa--- a"

I don't think the "--- " should be there...

There seems to be a problem with any strings 4095 or more in length.

Regards,
Stephen Sykes