in reply to Giving subroutines access to themselves

I recall suggesting at least once or twice that some form of caller return back a coderef to the currently operating subroutine. Not implemented yet. I bet there's something in the Devel:: space that can do it though.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

  • Comment on •Re: Giving subroutines access to themselves

Replies are listed 'Best First'.
Re^2: Giving subroutines access to themselves
by diotalevi (Canon) on Dec 17, 2002 at 19:29 UTC

    Oh right! I'd completely forgotten about Devel::Caller. It does just that. Thanks for reminding me.