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:
18200
Status:
rejected
Priority:
Low/Low
Queue:

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

BugTracker
Severity:
(no value)
Broken in:
0.14
Fixed in:
(no value)



There are issues with <code>use English</code> in 0.14: <pre> #!/usr/bin/perl use strict; use warnings; use English; </pre> yields: <pre> shell$ perlcritic -1 english.pl Match variable used at line 4, column 1. See page 82 of PBP (Severity: 4) </pre> I have silenced other rants for this test (VERSION, etc.). Note that <code>use English</code> is necessary to cope with another section of PBP, namely the usage of punctuation variables (pag. 79 of PBP).
Subject: Perl::Critic - C<use English;>
From: thaljef@cpan.org
Show quoted text
> I have silenced other rants for this test (VERSION, etc.). Note that > <code>use English</code> is necessary to cope with another section of > PBP, namely the usage of punctuation variables (pag. 79 of PBP).
From the ProhibitMatchVars documentation: Using the "match variables" $`, $&, and/or $' can significantly degrade the performance of a program. This policy forbids using them or their English equivalents. It also forbids plain C<use English;> so you should instead employ C<use English '-no_match_vars';> which avoids the match variables. See perldoc English or PBP page 82 for more information.
Subject: Re: [rt.cpan.org #18200] Perl::Critic - C<use English;>
Date: Thu, 16 Mar 2006 18:57:29 +0100 (CET)
To: bug-Perl-Critic@rt.cpan.org
From: "Flavio Poletti" <flavio@polettix.it>
D'oh, I completely forgot that! Sorry for the inconvenience :)
Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=18200 > >
>> I have silenced other rants for this test (VERSION, etc.). Note that >> <code>use English</code> is necessary to cope with another section of >> PBP, namely the usage of punctuation variables (pag. 79 of PBP).
> > From the ProhibitMatchVars documentation: > > Using the "match variables" $`, $&, and/or $' can significantly > degrade the performance of a program. This policy forbids using them > or their English equivalents. It also forbids plain C<use English;> so > you should instead employ C<use English '-no_match_vars';> which > avoids the match variables. See perldoc English or PBP page 82 for > more information. > > > > >


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.