Package: libxml-xpath-perl Version: 1.13-6 Severity: normal the stringification of literals (as returned by findvalue) should allow me to transparently use these like strings/numbers, but that does no longer work.
i'm assigning the result of a findvalue to a hash element (tried scalar, fails in the same way), and then i do a multiplication with a constant on it. 1.13 fails with: Operation `*': no method found, left argument has no overloaded magic, right argument in overloaded package XML::XPath::Literal 1.11 (oldstable) and 1.12 works fine, all with the same perl 5.8 and parser behind the scenes. a small example program to reproduce the problem is attached. -- System Information: Debian Release: 3.1 Versions of packages libxml-xpath-perl depends on: ii libxml-parser-perl 2.34-4 Perl module for parsing XML files ii perl 5.8.4-8 Larry Wall's Practical Extraction -- no debconf information
xpstring.pl
Description: Perl program