Login
Add new policy Variables::ProhibitMatchVars
[gknop/Perl-Critic.git] / bin / perlcritic
index b5a3a23..1cf2113 100755 (executable)
@@ -813,6 +813,10 @@ Write C< <<'THE_END'; > instead of C< <<'theEnd'; > [Severity 1]
 
 Use C<my> instead of C<local>, except when you have to. [Severity 2]
 
+=head2 L<Perl::Critic::Policy::Variables::ProhibitMatchVars>
+
+Avoid C<$`>, C<$&>, C<$'> and their English equivalents. [Severity 4]
+
 =head2 L<Perl::Critic::Policy::Variables::ProhibitPackageVars>
 
 Eliminate globals declared with C<our> or C<use vars> [Severity 3]