Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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'"


Comment on Re: Error with XML::XPath::Literal
Select or Download Code
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.
    Cheers!
    perl_seeker:)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://404867]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (10)
As of 2014-12-27 19:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls