Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: Can't use string ("0") as a HASH ref

by pjotrik (Friar)
on Sep 28, 2008 at 22:36 UTC ( #714222=note: print w/replies, xml ) Need Help??


in reply to Re^2: Can't use string ("0") as a HASH ref
in thread Can't use string ("0") as a HASH ref

Looks like the module you use to obtain $myresult returns "0" in the case of error and you don't check whether the call was successful

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://714222]
help
Chatterbox?
and the sunlight beams...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2017-06-24 21:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (562 votes). Check out past polls.