Control: tag -1 + patch On Fri, 27 May 2016 16:00:51 +0300, Niko Tyni wrote:
> Package: liblexical-underscore-perl > Version: 0.003-1 > Severity: important > User: debian-p...@lists.debian.org > Usertags: perl-5.24-transition > Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=108203 > > This package fails to build with Perl 5.24 (currently in experimental.) > > Can't use global $_ in "my" at t/01basic.t line 12, near "my $_ " > Can't use global $_ in "my" at t/01basic.t line 23, near "my $_ " > Can't use global $_ in "my" at t/01basic.t line 28, near "my $_ " > Execution of t/01basic.t aborted due to compilation errors. > # Looks like your test exited with 255 before it could output anything. > > Quoting perldelta.pod: > > Lexical $_ has been removed > "my $_" was introduced in Perl 5.10, and subsequently caused > much confusion with no obvious solution. In Perl 5.18.0, it was > made experimental on the theory that it would either be removed or > redesigned in a less confusing (but backward-incompatible) way. Over > the following years, no alternatives were proposed. The feature has > now been removed and will fail to compile. There's a pull request over at https://github.com/tobyink/p5-lexical-underscore/pull/2 which disables the problematic tests in newer perls. Cheers, gregor -- .''`. Homepage https://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - https://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: Rolling Stones
signature.asc
Description: Digital Signature