Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 ( [id://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

Replies are listed 'Best First'.
Re^4: How to get function's name inside of CODE attribute (monkey see)
by tye (Sage) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://929864]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-03-19 11:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found