Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

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?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://988681]
[choroba]: https://metacpan. org/author/ SIMBABQUE might know. He's a heavy Ingress player.
[Corion]: choroba: Yeah, I know :) I might ask him at the GPW :))
hippo giggles at the thought of people "playing" Ingres
[Corion]: The data is the game ;)
[marto]: good morning all
[hippo]: Great slogan :)
[Corion]: Hi marto ;)

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2018-03-19 09:20 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (236 votes). Check out past polls.