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

[perl #106796] Bleadperl v5.15.5-422-g7d69d4a breaks PSCUST/ParseLex-2.20.tar.gz

Thread Previous | Thread Next
From:
Father Chrysostomos via RT
Date:
December 31, 2011 07:04
Subject:
[perl #106796] Bleadperl v5.15.5-422-g7d69d4a breaks PSCUST/ParseLex-2.20.tar.gz
Message ID:
rt-3.6.HEAD-14510-1325343847-1553.106796-15-0@perl.org
On Fri Dec 30 21:37:58 2011, andreas.koenig.7os6VVqR@franz.ak.mind.de wrote:
> >>>>> On Fri, 30 Dec 2011 06:05:44 -0800, "Father Chrysostomos via RT"
> <perlbug-followup@perl.org> said:
> 
>   > I don’t see anything in the logs that could have caused it, which
>   > suggests that we need a core test.  Could you do another binary
> search
>   > to find out exactly which commit fixed it?
> 
> commit 6634bb9d0ed117be3584c9446cc6b05b93e3c773
> Author: Father Chrysostomos <sprout@cpan.org>
> Date:   Thu Dec 22 22:22:51 2011 -0800
> 
>     op.c: Use new feature bundle hints

Thank you.

This was a bug waiting to happen.  Commit 7d69d4a61b happened to change
the order in which keys came out of %::.  So Parse::Trace, which goes
iterating through the stash looking for a variable containing $self (for
verbose output), happened to stumble across $^V, which has explosive
overloaded methods.  (I think version objects are very un-perlish in
that regard, but I doubt I could convince the author of version.pm.)

So it looks as though ParseLex needs to work around this, otherwise it’s
just by chance that it passes its tests.

I’m going to mark this as rejected, as not being a perl bug, and re-open
the CPAN ticket.

-- 

Father Chrysostomos


---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=106796

Thread Previous | Thread Next


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