Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 making s'mores by the fire in the courtyard of the Monastery: (11)
As of 2014-12-20 18:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (97 votes), past polls