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 (Beadle)
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!


Comment on Re: Peculiar incident: printing a variable changes its type
Select or Download Code

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 web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (11)
As of 2014-09-16 19:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (45 votes), past polls