Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Error with XML::XPath::Literal

by rob_au (Abbot)
on Nov 03, 2004 at 11:54 UTC ( [id://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.
    Cheers!
    perl_seeker:)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2024-04-18 05:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found