Steve Simmons wrote:

> I'd prefer that we break these vars out into a set of hashes with
> appropriate names:
> 
>   $PERL_CORE{warnings}          vs      $^W
>   $PERL_CORE{version}           vs      $^V
>   $PERL_FORMATS{name}           vs      $^
>   $PERL_FORMATS{lines_left}     vs      $-

Hmm - I quite like this.  I'd like it even more if they were package
scoped and/or localisable.  My choice of warning level in my package
shouldn't affect your choice in your package.

-- 
Alan Burlison

Reply via email to