Re: Getting sub routine name as string

2007-08-02 Thread Adriano Ferreira
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

Re: Getting sub routine name as string

2007-08-02 Thread Mr. Shawn H. Corey
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` -- Just my 0.0002 million dollars worth, Shawn "For the things we have to learn before we can do them, we learn by doing them

Re: Getting sub routine name as string

2007-08-02 Thread Adriano Ferreira
On 8/2/07, Brown, Rodrick <[EMAIL PROTECTED]> 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. Sub::Identify may be useful. http://search.cpan.org/dist/Sub-Identify -- To unsubscribe, e-mail: [EMAIL PROTECTED] For add

Getting sub routine name as string

2007-08-02 Thread Brown, Rodrick
How can I get the subroutine calling name as a string? Ie. Sub foo { } I would like to get foo back as a string. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This message is intended only for the personal and confidential use of the designated rec