develooper Front page | perl.perl5.porters | Postings from November 2011

[perl #104504] Variable "$bar" is not available

Thread Previous
From:
Eric Brine via RT
Date:
November 25, 2011 13:33
Subject:
[perl #104504] Variable "$bar" is not available
Message ID:
rt-3.6.HEAD-5084-1322256793-1428.104504-15-0@perl.org
On Fri Nov 25 13:02:09 2011, jkeenan wrote:
> On Thu Nov 24 07:04:45 2011, dk@tetsuo.karasik.eu.org wrote:
> > 
> > $ perl a.pl
> > Variable "$bar" is not available at a.pl line 9.
> > 
> > 
> 
> I can confirm that this warning appears in 5.14.2 but not in 5.12.0.  A
> preliminary examination of the relevant perldeltas didn't turn up an
> obvious explanation.

From perlsyn: 

The behaviour of a my statement modified with a statement modifier
conditional or loop construct (e.g. my $x if ... ) is undefined. 

Behaviour that isn't defined cannot possibly be buggy, right?


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About