Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: How to get function's name inside of CODE attribute

by menth0l (Monk)
on Oct 07, 2011 at 07:14 UTC ( #930129=note: print w/replies, xml ) Need Help??


in reply to Re: How to get function's name inside of CODE attribute
in thread How to get function's name inside of CODE attribute

This is very interesting but it seems it's an overkill for what i need.
I think i'll just cut corners and add a new parameter to attribute with function name/path, i.e.:
package FOO; sub foo :BAR (func => 'FOO::foo') { ... }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://930129]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2017-02-25 01:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (364 votes). Check out past polls.