Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re^9: undef/defined &{$name} while "strict refs"

by anazawa (Scribe)
on Aug 21, 2012 at 10:08 UTC ( #988681=note: print w/ replies, xml ) Need Help??

in reply to Re^8: undef/defined &{$name} while "strict refs"
in thread undef/defined &{$name} while "strict refs"

Athanasius clarified what I wanted to say. Thanks a lot :) By the way, the following is equivalent to the code in question:

no strict 'refs'; my $walkable = defined *{ 'walk' }{CODE};
In this case, "no strict refs" is required and it seems reasonable. Should we cosider defined &{ 'walk' } not to be a recommended expression?

Comment on Re^9: undef/defined &{$name} while "strict refs"
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2015-10-04 15:59 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (103 votes), past polls