Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1095430]
help
Chatterbox?
[Corion]: robby_dobby: Going to a Perl Workshop is always fun, whether registered or not ;)

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (10)
As of 2018-04-19 12:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?