in reply to Re^3: Stucked in YAML::Tiny
in thread Stucked in YAML::Tiny
I ran into the same issue (Can't call method "write" on unblessed reference at ...).
In my case the yaml did not contain a newline.
+1 for making the example check for YAML::Tiny-errstr