in reply to Re: Using caller to determine the namespace of an anonymous subroutine
in thread Using caller to determine the namespace of an anonymous subroutine

Sub::Name might be a better solution, since I don't need access to the innards of the coderef. Though I'm not sure I'd call it less magical, since I still need to assign the subroutine name to the coderef.

Thanks again!

  • Comment on Re^2: Using caller to determine the namespace of an anonymous subroutine