Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Perl-Critic CPAN distribution.

Report information
The Basics
Id: 16906
Status: resolved
Priority: 0/
Queue: Perl-Critic

People
Owner: Nobody in particular
Requestors: robert.l.hicks [...] uscg.mil
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.13_04
Fixed in: 0.14



Subject: regular expression error on tr/_/ /;
My code is as follows: for (@$column_names) { tr/_/ /; # strips out underscores from column names } I get this error from Perlcritic: Regular expression without '/x' flag at line 138, column 5. See page 236 of PBP. Regular expression without '/m' flag at line 138, column 5. See page 237 of PBP. "tr" is not a regular expression...