Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 chanting in the Monastery: (17)
As of 2015-07-07 22:49 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 (93 votes), past polls