On Thursday, May 16, 2002, at 11:23 , Wagner, David --- Technical
Specialist I ---WGO wrote:
> You use the function caller (see Perl Programming chapter 22) and use
> 0 for current stack, 1 for the caller, 2 for caller's caller, etc.
>
> To see who I am, caller(0).
> To see w
On Thursday, May 16, 2002, at 11:27 , Jonathan E. Paton wrote:
> --- drieux <[EMAIL PROTECTED]> wrote: >
>> On Thursday, May 16, 2002, at 11:14 , [EMAIL PROTECTED]
>> wrote:
>>> Hello,
>>>
>>> is it possible to determine within a function from which
>>> module/function this one was called?
>>
>
ailto:[EMAIL PROTECTED]]
Sent: Thursday, May 16, 2002 11:15
To: [EMAIL PROTECTED]
Subject: determine the invoking function
Hello,
is it possible to determine within a function from which
module/function this one was called?
for instance:
sub test1 {
test2();
}
sub test2 {
...
--- drieux <[EMAIL PROTECTED]> wrote: >
> On Thursday, May 16, 2002, at 11:14 , [EMAIL PROTECTED] wrote:
>
> > Hello,
> >
> > is it possible to determine within a function from which
> > module/function this one was called?
>
> perldoc Carp
>
Not quite Drieux, but close (depending what it is
On Thursday, May 16, 2002, at 11:14 , [EMAIL PROTECTED] wrote:
> Hello,
>
> is it possible to determine within a function from which
> module/function this one was called?
perldoc Carp
ciao
drieux
---
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PRO
Hello,
is it possible to determine within a function from which
module/function this one was called?
for instance:
sub test1 {
test2();
}
sub test2 {
you were called from function test1.
}
thanks in advance, Christian
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For