Skip Menu |

This queue is for tickets about the List-Gather CPAN distribution.

Report information
The Basics
Id: 121777
Status: open
Priority: 0/
Queue: List-Gather

People
Owner: Nobody in particular
Requestors: DROLSKY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Does strange things to the optree or parser under threads
Unfortunately I really can't narrow this down much. It involved loading a module which used List::Gather as part of a Test::Class::Moose test suite. The symptom was that a TCM internal class didn't see k/v pairs passed to its constructor. It would complain that an attribute wasn't passed, even though a stack trace shows that k/v pair being passed to the new() sub! Somehow the values get eaten! Here's another example of something weird: use strict; use warnings; use v5.22; use lib 'lib'; use List::Gather; use HTTP::Headers; say 'foo'; Note the warning that shows up, '"my" variable $h masks earlier declaration in same scope at lib/HTTP/Headers.pm line 182.' If you look at the code you'll see that there's no way that warning should show up.
Subject: Re: [rt.cpan.org #121777] Does strange things to the optree or parser under threads
Date: Thu, 18 May 2017 13:17:09 -0700
To: bug-List-Gather [...] rt.cpan.org
From: Florian Ragwitz <florian.ragwitz [...] gmail.com>
This problem is fixed by the patch in https://rt.cpan.org/Public/Bug/Display.html?id=110623 On Thu, May 18, 2017 at 8:40 AM, Dave Rolsky via RT < bug-List-Gather@rt.cpan.org> wrote: Show quoted text
> Thu May 18 11:40:43 2017: Request 121777 was acted upon. > Transaction: Ticket created by DROLSKY > Queue: List-Gather > Subject: Does strange things to the optree or parser under threads > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: DROLSKY@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=121777 > > > > Unfortunately I really can't narrow this down much. It involved loading a > module which used List::Gather as part of a Test::Class::Moose test suite. > The symptom was that a TCM internal class didn't see k/v pairs passed to > its constructor. It would complain that an attribute wasn't passed, even > though a stack trace shows that k/v pair being passed to the new() sub! > > Somehow the values get eaten! > > Here's another example of something weird: > > use strict; > use warnings; > > use v5.22; > use lib 'lib'; > > use List::Gather; > use HTTP::Headers; > > say 'foo'; > > > Note the warning that shows up, '"my" variable $h masks earlier > declaration in same scope at lib/HTTP/Headers.pm line 182.' > > If you look at the code you'll see that there's no way that warning should > show up. > >