On 8/2/07, Mr. Shawn H. Corey <[EMAIL PROTECTED]> wrote:
> Brown, Rodrick wrote:
> > How can I get the subroutine calling name as a string?
> >
> > Ie. Sub foo { } I would like to get foo back as a string.
>
> See `perldoc -f caller`Shawn is absolutely right. The builtin "caller" is what you need to get the subroutine name you're in and the callers all the way up. Sub::Identify is when you want to go from a coderef to the subroutine name. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/
