develooper Front page | perl.perl5.porters | Postings from February 2009

Re: [perl #62522] warnings::register regressions introduced in 5.10

Thread Previous
From:
Peter Rabbitson
Date:
February 15, 2009 09:33
Subject:
Re: [perl #62522] warnings::register regressions introduced in 5.10
Message ID:
49970FEC.5090200@rabbit.us
Bram via RT wrote:
> On Tue Jan 20 02:10:31 2009, rabbit@rabbit.us wrote:
>> This is a bug report for perl from rabbit@rabbit.us,
>> generated with the help of perlbug 1.36 running under perl 5.10.0.
>>
>>
>> -----------------------------------------------------------------
>> [Please enter your report here]
>>
>> After upgrading to 5.10 warnings::register related warning suppression
>> does not work as expected in all cases (i.e. as it did in 5.8). Please
>> find a complete and well documented 16 point test suite attached to
>> this
>> message (or at http://rabbit.us/diff/5.10_lexwarn_register.tar.bz2)
> 
> Thanks for the bug report.
> Would it be possible to rewrite the situation that fails as stand alone tests 
> which requires only core modules?
> 
> (Your test script seems to require Class::C3)
> 

The file uploaded with the initial bug report[1] contains 16 tests which are
dependent on core modules only. The second entry adds a new file[2], which
contains the same 16 tests plus 3 extra ones to show an _unrelated_ problem
when C3 is in effect. I can rewrite the test to use proper skip blocks if
so requested.

[1] http://rt.perl.org/rt3/Ticket/Attachment/522408/246780/5.10_lexwarn_register.tar.bz2
[2] http://rt.perl.org/rt3/Ticket/Attachment/529454/250658/5.10_lexwarn_register_extended.tar.bz2

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