in reply to Extracting elements from an XML chunk leads to crash

Your code should work - there is no reason AFAIK that would make a first call to findvalue() pass and the second fail.

Same weirdness here with libxml2 2.6.29 and Lib::XML 1.63. I'd say you'd better try to contact the module maintainer[s].

Krambambuli
---
Enjoying Mark Jason Dominus' Higher-Order Perl
  • Comment on Re: Extracting elements from an XML chunk leads to crash