On Thu, 2002-11-21 at 20:11, Brent Dax wrote:
> Are you suggesting this?
> 
>       if($error) {
>               use visible '&croak';
>               require Carp;
>               import Carp: 'croak';
>               croak($error);
>       }

No - that would be pointless as well as error-prone.

My idea of "visible" is that it would make a lexically scoped thing
accessible to an inner dynamic scope at run-time.

By default that would only apply to $_, but the mechanism should be
generalisable to any name.

-Martin

Reply via email to