Re: Who called subroutine.

2003-12-11 Thread Randy W. Sims
On 12/11/2003 5:18 AM, John Hennessy wrote: Hi, a basic question how do I know who called my subroutine ? It could be main, it could be another subroutine. Is setting a return value on a subroutine and checking for it the only way ? Surely not. Thanks John. perldoc -f caller -- To unsubscrib

Who called subroutine.

2003-12-11 Thread John Hennessy
Hi, a basic question how do I know who called my subroutine ? It could be main, it could be another subroutine. Is setting a return value on a subroutine and checking for it the only way ? Surely not. Thanks John. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: