Subject: | ProhibitReusedNames does not catch 'foreach my $x' |
Test program:
my ($x, $y);
foreach my $y () {}
my $x;
Checking this with
% perlcritic --single-policy Variables::ProhibitReusedNames testprog
warns about $x but not about $y.
This queue is for tickets about the Perl-Critic CPAN distribution.
The Basics
People
|
Bug Information
|