Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Peculiar incident: printing a variable changes its type

by KurtZ (Friar)
on Nov 13, 2013 at 14:07 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1062387]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-04-25 14:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found