in reply to Detecting undefined subroutines at compile time

See Sub::Name for one of your points. You can change the __ANON__ to something you choose.
  • Comment on Re: Detecting undefined subroutines at compile time

Replies are listed 'Best First'.
Re^2: Detecting undefined subroutines at compile time
by DrHyde (Prior) on May 04, 2011 at 10:06 UTC
    Or you could do this:
    local *__ANON__ = "maurice the happy giraffe"
    (or whatever name you want to report) inside the anonymous subroutine.