On Mon, Jan 12, 2004 at 11:06:04PM +0100, Rafael Garcia-Suarez <[EMAIL PROTECTED]> 
wrote:
> my $_
>   Rafael Garcia-Suarez proposed an extension to the language : the ability
>   to use the default scalar $_ as a lexical variable, by declaring it with
>   "my". He outlined the problems solved by this new construction, proposed
>   a preliminary patch and pointed out a few open questions, that were
>   discussed. Feedback was mostly positive.
> 
>       
> http://groups.google.com/groups?selm=20040108004315.104f51ff.rgarciasuarez%40free.fr

A pointer to the earlier c.l.p.moderated discussion:

   http://groups.google.com/groups?selm=l14qz04rsh.fsf%40budvar.future-i.net

> Nesting __WARN__ handlers
>   Ed Avis suggests (as bug id #24806) that a localized $SIG{__WARN__}
>   handler could call the outer handler if it happens to call warn() again;
>   or, that some other mechanism could be modified to make this happen.
>   Rafael points out that this is already possible with perl, by using a
>   closure to capture the outer handler. Yitzchak Scott-Thoennes says that
>   a new lexical pragma
> 
>       use warnings::handler sub { ... };
> 
>   would be a good idea.

That suggestion was scotched; there needs to be a runtime component.

Reply via email to