|Subject:||XML::XPath::Node::Element::getAttributeNode() uses unspecified behaviour|
|Date:||Tue, 5 Apr 2016 14:46:59 +0100|
|To:||bug-XML-XPath [...] rt.cpan.org|
|From:||Dave Mitchell <davem [...] iabyn.com>|
The sub getAttributeNode() in XML::XPath::Node relies on the unspecified behaviour of foreach for what it returns when there are no attributes present. In particular, starting with perl version 5.23.8, the return value of a for loop when iterated over zero times, has changed from returning undef to returning false. Other subs might be similarly affected. Seefor more details. -- Justice is when you get what you deserve. Law is when you get what you pay for.