XML::Genx Exceptions

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 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.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s