Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: How to get function's name inside of CODE attribute (monkey see)

by stvn (Monsignor)
on Oct 05, 2011 at 19:29 UTC ( #929864=note: print w/ replies, xml ) Need Help??


in reply to Re^2: How to get function's name inside of CODE attribute (monkey see)
in thread How to get function's name inside of CODE attribute

Yes, I actually implement attributes without monkey patching UNIVERSAL at all and much more simply and, IMHO, sanely and buttoning that up for CPAN is on my to-do list.

Is the code sane enough for github? or some other public code hosting site? I would like to see this.

-stvn


Comment on Re^3: How to get function's name inside of CODE attribute (monkey see)
Re^4: How to get function's name inside of CODE attribute (monkey see)
by tye (Cardinal) on Oct 05, 2011 at 19:44 UTC

    Actually, much of the code is included in Devel::Init. After the __END__ line is even the code I decided to leave out of Devel::Init that tries to provide compatibility with the first entrant, Attribute::Handlers.

    No, Devel::Init is not a tool for enabling developers to easily define their own attributes. But the code in Devel::Init only requires small additions and minor reworking for it to become that.

    - tye        

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2014-08-29 17:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (284 votes), past polls