Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: What operator should perl5porters use for safe dereferencing?

by DrHyde (Prior)
on May 30, 2012 at 10:11 UTC ( #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.


Comment on Re: What operator should perl5porters use for safe dereferencing?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (14)
As of 2015-07-30 18:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls