http://qs321.pair.com?node_id=11138949

kikuchiyo has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

I've a somewhat involved question.

I use Attribute::Handlers to create function wrappers, quite like as described in this blog post by Gabor Szabo, in the section "Separating Attribute to module".

This works fine, however, I've noticed that these wrapped/replaced functions appear as __ANON__ in the call stack (as shown by the caller function in list context).

Is there a way to give a name to these anonymous subs (preferably to keep the name of the function they've replaced)?