Skip Menu |

This queue is for tickets about the Regexp-Common CPAN distribution.

Report information
The Basics
Id: 54908
Status: rejected
Priority: 0/
Queue: Regexp-Common

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

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



$ perl -MRegexp::Common -e1 $ perl -X -MRegexp::Common -e1 Regexp/Common.pm did not return a true value. BEGIN failed--compilation aborted. This is because line 245 is $^W=1. Under -X, that line is turned into $^W=0. That line is the last statement executed when compiling the file. Fix is to put a "1;" as the last executable statement in the file right above the POD, the way we're supposed to.
I cannot reproduce this in version 1.122, nor in any later version. It does fail as reported in version 1.120, but version 1.122 eliminated the use of $^W.