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') { ... }