http://www.perlmonks.org?node_id=929871


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

I'm no fan of that myself, but it's less troublesome than putting all handlers in UNIVERSAL. I'll happily switch to a better solution that avoids modifying global behavior altogether.


Improve your skills with Modern Perl: the free book.