Perl6 RFC Librarian <[EMAIL PROTECTED]> writes:
> This and other RFCs are available on the web at
> http://dev.perl.org/rfc/
>
> =head1 TITLE
>
> caller->eval BLOCK
>
> =head1 VERSION
>
> Maintainer: David Nicol <[EMAIL PROTECTED]>
> Date: 28 Sep 2000
> Mailing List: [EMAIL PROTECTED]
> Number: 339
> Version: 1
> Status: Developing
>
> =head1 ABSTRACT
>
> C<caller> is extended to allow complete access to the "call frame" of
> the current subroutine call.
>
> =head1 DESCRIPTION
>
> Some new syntax is introduced, involving the C<caller> keyword,
> that allows evaluation of expressions from the point of view of the
> situation from which the current method was called. After thinking
> about it for a while I think
>
> caller->eval EXPRESSION;
>
> would work well, with the prototype and semantics of this construction being
> identical to regular C<eval>, except that resolution of names is done as
> if the eval was happening where the call happened.
That's mad, bad, scary and dangerous. Let's do it.
--
Piers