Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: subroutine ref while "strict refs"

by ikegami (Pope)
on Jul 28, 2014 at 21:17 UTC ( #1095430=note: print w/ replies, xml ) Need Help??


in reply to Re^2: subroutine ref while "strict refs"
in thread subroutine ref while "strict refs"

I didn't mean to be exclusionary. \&{EXPR} as a whole is exempt, including the \&$NAME shorthand. CONST->() is also exempt.

For example, (\&$name)->() is the same as $name->(), but it bypasses the symbolic reference check requested by using strict.


Comment on Re^3: subroutine ref while "strict refs"
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (9)
As of 2015-06-03 02:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What kind of chocolate gives you the most pleasure?















    Results (116 votes), past polls