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?? |
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.
In Section
Past Polls
|
|