Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: What operator should perl5porters use for safe dereferencing?

by DrHyde (Prior)
on May 30, 2012 at 10:11 UTC ( [id://973243]=note: print w/replies, xml ) Need Help??


in reply to What operator should perl5porters use for safe dereferencing?

A serious poll? What's happened? Has perlmonks been taken over by the lizard people?

I voted "none", because I believe this would not be a good idea. Attempting to dereference something that isn't a reference is a sign that you've done something wrong and that you have a bug - maybe you passed the wrong parameter to a function, or you forgot to check a return value. Papering over the cracks will just make your code harder to debug.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://973243]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-03-29 10:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found