I came across an interesting situation today. The exception thrown by XML::Genx showed up in completely the wrong place. I suspect that this is due to the fact that I’ve made it a dual valued scalar and Perl doesn’t want to overwrite by appending “at Foo.pm line 23” to the end of it. More investigation required.
Further investigation shows that it’s because I was using the “object” form of croak()
, so Perl didn’t dare touch what I was doing. Doh. So I’ve now simplified things so that it works correctly. XML::Genx 0.12 is now up.