Rick Delaney wrote: > 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
Yes. I'm aware of this, the TODO test is in my TODO list since a long time and I've thought about all this... so I changed my mind :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.