On Fri, Sep 29, 2000 at 09:47:00PM -0000, Perl6 RFC Librarian wrote:
> Classic eval:
>
> eval {}
> eval ""
>
> Unscoped eval
>
> +eval {}
> +eval ""
I like the general idea of this RFC, but the proposed syntax is less than
desirable. What happens with the following?
$result = 20+eval"$x $op $y";
Perhaps instead of +eval, consider unscoped_eval, or some such.
Or perhaps this should be generalized into a pragma for indicating the
current scope is actually the scope just above it. I believe this idea was
proposed and batted around when the lists were first started; I don't recall
what became of it.
Michael
--
Administrator www.shoebox.net
Programmer, System Administrator www.gallanttech.com
--