Aha, so there *is* a full-blown CPAN module for this. Thanks for noting!
in reply to Re: Find out who redefined a subroutine
in thread Find out who redefined a subroutine
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.