Ask a Question related to PERL Beginners, Design and Development.
-
John Hennessy #1
Who called subroutine.
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.
John Hennessy Guest
-
subroutine problem
Hi all, I have recently started to learn perl. After reading Randal Schwartz’s Learning perl, I decided to give my first program a whirl. Upon... -
#39868 [NEW]: Destructor is called allthought constructor is never called
From: jb at ez dot no Operating system: Kubuntu 6.10 PHP version: 5.2.0 PHP Bug Type: *General Issues Bug description: ... -
#39678 [Opn->Bgs]: __set and __get not called where a class attribute is called statically
ID: 39678 Updated by: tony2001@php.net Reported By: denis at edistar dot com -Status: Open +Status: ... -
#39678 [NEW]: __set and __get not called where a class attribute is called statically
From: denis at edistar dot com Operating system: Linux PHP version: 5.2.0 PHP Bug Type: Scripting Engine problem Bug... -
Called as method or subroutine?
Hi is there a way to make a sub/method compatible with the two following calling methods? 1. MyClass::mySub(); 2. MyClass->mySub(); Using... -
Randy W. Sims #2
Re: Who called subroutine.
On 12/11/2003 5:18 AM, John Hennessy wrote:
perldoc -f caller> 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.
>
>
>
Randy W. Sims Guest



Reply With Quote

