Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 romping around the Monastery: (12)
As of 2015-07-01 17:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (12 votes), past polls