Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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

by menth0l (Monk)
on Oct 07, 2011 at 07:14 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://930129]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2024-04-16 04:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found