I have been making good use of XML::LibXML and often have to make use of the get_node function of XML::LibXML::NodeList
I understand that because of xpath it uses a 1 based array rather than a 0 based array. But if I do make the mistake of deriving the 0th value (I am only human :)), then rather than getting an undef or similar I seem to get the -1th value
I can find no mention of this in cpan. Any ideas why this is?
In reply to XML::LibXML::NodeList get_node by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |