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


in reply to Re: Find out who redefined a subroutine
in thread Find out who redefined a subroutine

Aha, so there *is* a full-blown CPAN module for this. Thanks for noting!

My code can be fooled, too.

Just copy original subref to a private variable and it would think the sub is still the original one.