Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^4: How to map function name to coderef?

by ikegami (Pope)
on Jan 07, 2012 at 00:37 UTC ( #946689=note: print w/ replies, xml ) Need Help??


in reply to Re^3: How to map function name to coderef?
in thread How to map function name to coderef?

can searches the inheritance tree. It should be used for methods, not functions.

Replies are listed 'Best First'.
Re^5: How to map function name to coderef?
by Anonymous Monk on Jan 07, 2012 at 01:30 UTC

    And yet can works, and as there is no @main::ISA, and you shouldn't pollute UNIVERSAL,  main->can( $foo ) is perfectly legit

      How do you know there's no @ISA?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2016-07-25 09:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (223 votes). Check out past polls.