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

[perl #132760] Blead Breaks CPAN: YANICK/List-Lazy-0.3.0.tar.gz

Thread Previous | Thread Next
From:
slaven@rezic.de via RT
Date:
February 21, 2018 21:23
Subject:
[perl #132760] Blead Breaks CPAN: YANICK/List-Lazy-0.3.0.tar.gz
Message ID:
rt-4.0.24-767-1519248176-1647.132760-15-0@perl.org
Dana Fri, 09 Feb 2018 14:21:58 -0800, slaven@rezic.de reče:
> Dana Wed, 24 Jan 2018 12:04:24 -0800, slaven@rezic.de reče:
> > 
> > This is a bug report for perl from slaven@rezic.de,
> > generated with the help of perlbug 1.41 running under perl 5.27.8.
> > 
> > 
> > -----------------------------------------------------------------
> > List-Lazy-0.3.0 does not work anymore since v5.27.7-212-g894f226e51.
> > This is the change which swapped signatures and attributes.
> > This change is already documented in perldelta, but I have just
> > two notes:
> > 
> > - The error output does not look nice. In this case it begins with
> > 
> > Array found where operator expected at
> > /home/eserte/.cpan/build/2018012418/List-Lazy-0.3.0-
> > 2/blib/lib/List/Lazy.pm line 43, near "$$@)"
> >         (Missing operator before @)?)
> > "my" variable $step masks earlier declaration in same statement at
> > /home/eserte/.cpan/build/2018012418/List-Lazy-0.3.0-
> > 2/blib/lib/List/Lazy.pm line 44.
> > syntax error at /home/eserte/.cpan/build/2018012418/List-Lazy-0.3.0-
> > 2/blib/lib/List/Lazy.pm line 36, near ") :"
> > Global symbol "$generator" requires explicit package name (did you
> > forget to declare "my $generator"?) at
> > /home/eserte/.cpan/build/2018012418/List-Lazy-0.3.0-
> > 2/blib/lib/List/Lazy.pm line 38.
> > Global symbol "$state" requires explicit package name (did you forget
> > to declare "my $state"?) at /home/eserte/.cpan/build/2018012418/List-
> > Lazy-0.3.0-2/blib/lib/List/Lazy.pm line 39.
> > Global symbol "$min" requires explicit package name (did you forget to
> > declare "my $min"?) at /home/eserte/.cpan/build/2018012418/List-Lazy-
> > 0.3.0-2/blib/lib/List/Lazy.pm line 43.
> > Global symbol "$max" requires explicit package name (did you forget to
> > declare "my $max"?) at /home/eserte/.cpan/build/2018012418/List-Lazy-
> > 0.3.0-2/blib/lib/List/Lazy.pm line 43.
> > Global symbol "$step" requires explicit package name (did you forget
> > to declare "my $step"?) at /home/eserte/.cpan/build/2018012418/List-
> > Lazy-0.3.0-2/blib/lib/List/Lazy.pm line 43.
> > Invalid separator character '{' in attribute list at
> > /home/eserte/.cpan/build/2018012418/List-Lazy-0.3.0-
> > 2/blib/lib/List/Lazy.pm line 44, near "$step : sub "
> > Global symbol "$step" requires explicit package name (did you forget
> > to declare "my $step"?) at /home/eserte/.cpan/build/2018012418/List-
> > Lazy-0.3.0-2/blib/lib/List/Lazy.pm line 44.
> > ...
> > 
> > which does not really say anything about the problem. Is it possible
> > to detect this situation and improve diagnostics?
> > 
> > - What does this change means in terms of usability of signatures?
> > Users
> >   mixing signatures and prototypes must increase their perl
> > prerequisite
> >   from 5.22 to 5.28, which may mean it could be less likely that
> >   signatures are used in the next time. Is this worth for this change?
> > 
> > BTW, the issue for the CPAN module is
> > https://github.com/yanick/List-Lazy/issues/3
> > 
> > -- Slaven
> 
> Also affected: ALEXBYK/Evo-0.0405.tar.gz
> (Bisect result found out by Andreas)
> 

Also effected (very probably): STEVAN/Moxie-0.07.tar.gz
(This was yet unnoticed because the distribution did not build at all since 5.27.6, probably due to broken dependencies)


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

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