On Fri, Jul 15, 2005 at 05:01:46PM +0200, Rafael Garcia-Suarez wrote:
> On 7/15/05, Michael G Schwern via RT <[EMAIL PROTECTED]> wrote:
> >     our $x; our $x;
> 
> I disagree. This shouldn't warn. There is no masking, as demonstrated by :
> $ perl -e 'our $x=42; our $x; print $x'
> 42

Hmm, I'm inclined to agree.  But let me just point out

    http://public.activestate.com/cgi-bin/perlbrowse?patch=21725

:-P

> > and that this should not
> > 
> >     package Foo;
> >     our $x;
> > 
> >     package Bar;
> >     our $x;
> 
> Yes.

And yet here there is masking, so not warning is an exception.  Though I
accept the reasons behind this exception.

-- 
Rick Delaney
[EMAIL PROTECTED]

Reply via email to