Skip Menu |

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

Report information
The Basics
Id: 108386
Status: new
Priority: 0/
Queue: re-engine-PCRE

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

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



Subject: Can't use global $_ in "my"
t/s.t fails with perl 5.23.4, because lexical $_ was removed from that perl version: Can't use global $_ in "my" at t/s.t line 5, near "my $_" Execution of t/s.t aborted due to compilation errors. # Looks like your test exited with 255 before it could output anything. t/s.t ................... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 10/10 subtests
On 2015-11-02 14:16:37, SREZIC wrote: Show quoted text
> t/s.t fails with perl 5.23.4, because lexical $_ was removed from that > perl version: > > Can't use global $_ in "my" at t/s.t line 5, near "my $_" > Execution of t/s.t aborted due to compilation errors. > # Looks like your test exited with 255 before it could output > anything. > t/s.t ................... > Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 10/10 subtests
Removing the "my $_" in the test helps. Here's a patch: http://cpan.cpantesters.org/authors/id/S/SR/SREZIC/patches/re-engine-PCRE-0.17-RT108386.patch