develooper Front page | perl.perl5.porters | Postings from September 2012

[perl #114888] Bleadperl v5.17.3-292-g9ef8d56 breaks OVID/Data-Dumper-Simple-0.11.tar.gz

Thread Previous | Thread Next
From:
Father Chrysostomos via RT
Date:
September 14, 2012 22:31
Subject:
[perl #114888] Bleadperl v5.17.3-292-g9ef8d56 breaks OVID/Data-Dumper-Simple-0.11.tar.gz
Message ID:
rt-3.6.HEAD-11172-1347687060-1735.114888-15-0@perl.org
On Thu Sep 13 14:32:44 2012, sprout wrote:
> On Thu Sep 13 13:42:27 2012, ambs@perl-hackers.net wrote:
> > Hello,
> > 
> > As far as can see, there is a change on blead that breaks some
> >    modules.
> > But with the description on the commit I do not understand what is
> >    going
> > on :)
> > 
> > Probably it is something I can fix on my module...?
> 
> More likely a mistake in my assumptions.  I’ll look into it.
> 
> Basically, when you write:
> 
>     my $x;
>     sub { $x }
> 
> it should be possible for the newly-created sub to share its list of
> variable names with every other sub created by that line, since it is
> theoretically immutable at run time.
> 
> So I made it do that to make closure creation slightly faster.
> 
> But apparently something isn’t working quite right.

I wasn’t localising the current pad name array when creating a closure.
 I’ve fixed it in cbacc9a.

-- 

Father Chrysostomos


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

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