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

Re^6: What operator should perl5porters use for safe dereferencing?

by ikegami (Pope)
on Jun 04, 2012 at 17:18 UTC ( #974332=note: print w/ replies, xml ) Need Help??


in reply to Re^5: What operator should perl5porters use for safe dereferencing?
in thread What operator should perl5porters use for safe dereferencing?

Safe can prevent die from being called, but not dying in general, or even due to "bad" derefs.

If you wanted to change the behaviour of `->`, especially in a lexical scope, you could use an opcode checker. The autovivification pragma is an example of such.


Comment on Re^6: What operator should perl5porters use for safe dereferencing?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (15)
As of 2014-04-16 15:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (432 votes), past polls