Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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') { ... }


Comment on Re^2: How to get function's name inside of CODE attribute
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2015-05-30 15:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (597 votes), past polls