Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: Error with XML::XPath::Literal

by rob_au (Abbot)
on Nov 03, 2004 at 11:54 UTC ( #404867=note: print w/replies, xml ) Need Help??

in reply to Error with XML::XPath::Literal

You might want to try this (untested) solution - Change line 480 to read:

$total += sprintf( "%d", $t );

The problem results because of the overloaded nature of $t.


perl -le "print unpack'N', pack'B32', '00000000000000000000001011101101'"

Replies are listed 'Best First'.
Re^2: Error with XML::XPath::Literal
by perl_seeker (Scribe) on Nov 04, 2004 at 06:12 UTC
    Hello Rob!
    Your solution works, thanks a lot! I have used "%f" instead of "%d", since I need to add floating point numbers.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://404867]
[LanX]: met a Canadian yesterday, he suggested building a wall and let the US pay for it
[choroba]: No, but lots of pictures of the Agent Orange victims, plus some deformed foeti
[LanX]: ugh
[choroba]: also, seeing communist propaganda I remember from my childhood... very strange experience

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2017-02-26 04:43 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (371 votes). Check out past polls.