http://www.perlmonks.org?node_id=757411


in reply to Xml::Twig:Xpath Xpath expression error

Er... after looking at it again... you are creating a plain XML::Twig object instead of an XML::Twig::XPath one. I'll have to update the error message in this case.