in reply to Re^3: how to get a subroutine name?in thread how to get a subroutine name?
Sub::Identify?
Still, that's rather a roundabout way to do things.