Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Peculiar incident: printing a variable changes its type

by KurtZ (Monk)
on Nov 13, 2013 at 14:07 UTC ( #1062387=note: print w/replies, xml ) Need Help??


in reply to Peculiar incident: printing a variable changes its type

print "$body->{timeout}\n"; #<-----suspect line
avoid stringification!
print $body->{timeout}, "\n"; # better
HTH!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1062387]
help
Chatterbox?
[Discipulus]: meh second match lost 4-9 ;=(

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2017-07-21 10:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (321 votes). Check out past polls.