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

Re: Peculiar incident: printing a variable changes its type

by KurtZ (Pilgrim)
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?
and the monks are chillaxin'...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2017-11-20 03:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (284 votes). Check out past polls.

    Notices?