On Wed, Aug 23, 2000 at 11:59:15PM -0400, Buddha Buck wrote: > How about a @CALLER array, with each element being a reference to the > invoking function in the call-back stack. $CALLER[0] would be > equivilant to \&ME, $CALLER[1] would be the sub that called &ME, etc, > and then $CALLER[-1] would logically be the main program. How about we change what caller() returns in scalar context? Rather than just the package name, it could be an "object" that represents my $ME and all of the $MEs available on the stack. It could still return the package name in "string context" I guess. -Scott -- Jonathan Scott Duff [EMAIL PROTECTED]
- Re: Things to remove Jarkko Hietaniemi
- Re: Things to remove John Porter
- Re: Things to remove Larry Wall
- Re: Things to remove Dan Sugalski
- Re: Things to remove Larry Wall
- Re: Things to remove Buddha Buck
- Re: Things to remove Bryan C . Warnock
- Re: Things to remove Damian Conway
- &ME David L. Nicol
- Re: &ME Buddha Buck
- Re: Things to remove Jonathan Scott Duff
- Re: Things to remove Dan Sugalski
- Re: Things to remove Nathan Torkington
- Re: Things to remove Bart Lateur
- Exception handling [Was: Re: Thi... Glenn Linderman
- Re: Exception handling [Was: Re:... Markus Peter
- Re: Exception handling [Was: Re:... Dan Sugalski
- Re: Exception handling [Was: Re:... Tony Olekshy
- Re: Exception handling [Was: Re:... Glenn Linderman
- Re: Exception handling [Was: Re:... Tony Olekshy
- Re: Exception handling [Was: Re:... Glenn Linderman