Skip Menu |

This queue is for tickets about the re-engine-RE2 CPAN distribution.

Report information
The Basics
Id: 108357
Status: new
Priority: 0/
Queue: re-engine-RE2

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

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



Subject: Can't use global $_ in "my"
t/ree-pcre/s.t fails with perl 5.23.4: Can't use global $_ in "my" at t/ree-pcre/s.t line 5, near "my $_" Execution of t/ree-pcre/s.t aborted due to compilation errors. # Looks like your test exited with 255 before it could output anything. t/ree-pcre/s.t ........... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 10/10 subtests Lexical $_ was deprecated for some time, and was removed in perl 5.23.4.
On 2015-11-01 13:18:30, SREZIC wrote: Show quoted text
> t/ree-pcre/s.t fails with perl 5.23.4: > > Can't use global $_ in "my" at t/ree-pcre/s.t line 5, near "my $_" > Execution of t/ree-pcre/s.t aborted due to compilation errors. > # Looks like your test exited with 255 before it could output anything. > t/ree-pcre/s.t ........... > Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 10/10 subtests > > > Lexical $_ was deprecated for some time, and was removed in perl 5.23.4.
It seems that the "my $_" can safely be removed. See http://cpan.cpantesters.org/authors/id/S/SR/SREZIC/patches/re-engine-RE2-0.13-RT108357.patch for a possible patch.