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

[perl #79210] ‘Can’t locate package’ warning scope problems

From:
James E Keenan via RT
Date:
December 3, 2011 12:57
Subject:
[perl #79210] ‘Can’t locate package’ warning scope problems
Message ID:
rt-3.6.HEAD-5084-1322945858-936.79210-15-0@perl.org
On Sun Nov 14 13:46:38 2010, sprout wrote:
> See this code that I added to t/mro/package_aliases.t, specifically
> the first comment:
> 
> no warnings; # temporary; there seems to be a scoping bug, as this
> does not
>              # work when placed in the blocks below
> 

The attached confirms this bug and demonstrates that, since it occurs
with Test::More, it is independent of the use of ./t/test.pl in core.



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