I have spent the better part of this Saturday fixing errors reported by CPAN
which reported stuff like
t/0101-string.........Not an ARRAY reference at lib/Algorithm/Evolutionary/Individual/Base.pm line 118.
These errors kept showing up in the new versions I uploaded
, and didn't show either in previous versions or in my own code, for that matter.
It was difficult to find out what was going on. It looked as if it had something to do with XML::Parser
, which I used in its EasyTree version
. I really couldn't fathom what was going on, since I didn't have the machines that yielded errors available. However, light shone on the bug when I tried to look for some bug in the latter module and I found XML::Parser::Style::EasyTree
, which is a very recent incorporation, and lo and behold, as soon as I installed it I started to get the same errors!
What was the problem? Well, the latest version of XML::Parser uses this last one when instantiated with the EasyTree option, as opposed to the one I supposed, even if you
d it in your code. And the structure is all different; much easier and logical, BTW.
Even if it's easier to use now, it has meant I have had to change all the XML processing code. Luckily, the set of tests has helped me through, and eventually all tests were cleared, and I uploaded the 0.62_3 version, which hopefully will be soon available, and will check out OK.
Etiquetas: debugging, it's a bug's life