I\'m currently working in a very complex Perl architecture, and I want to create some debugging tools. Since a lot of the behavior involves anonymous subroutines, I\'d like to a
For this sort of thing, I always refer to Track the filename/line number of an anonymous coderef on PerlMonks. Randal had an idea to tag anonymous subroutines so you could see where you defined them, and I extended it a bit. It uses some of the same stuff that Eric posted, but with a little more.