> Buddha Buck wrote:
>
> > Perhaps someone should RFC the new special variable &ME, which is
> > predefined to be the whole program. Who knows? Perhaps it would then make
> > sense to use @_ at the top level, as if the program was invoked as
> > "&ME(@ARGV);"...
>
> on -objects it has been proposed that &ME is a call to the current subroutine
> or method; that would generalize out to this meaning at the top level only
Hmmm... Could one then go &main::ME() then? No, that's not
generalizable...
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.
Hmm... I don't like @CALLER... Is @& taken? I know $& is...
--
Buddha Buck [EMAIL PROTECTED]
"Just as the strength of the Internet is chaos, so the strength of our
liberty depends upon the chaos and cacophony of the unfettered speech
the First Amendment protects." -- A.L.A. v. U.S. Dept. of Justice