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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to