CC: | "John Micco" <John.Micco [...] mathworks.com> |
Subject: | Perl Critic 0.20 Bug |
Date: | Wed, 1 Nov 2006 11:13:48 -0500 |
To: | <bug-Perl-Critic [...] rt.cpan.org> |
From: | "Kenneth Schafer" <Kenneth.Schafer [...] mathworks.com> |
Perl Critic 0.20
Perl 5.8.6
Linux - Debian 3.0, Debian 3.1, SuSE 9.3
The following line in Perl:
my @arches = map {/ ^ ab_ (.+) \.rrd $ /x ? $1 : ()} readdir
$COMBODIR;
generated the following diagnostic from Perl Critic at level 3:
Capture variable used outside conditional at line 246, column 53. See
page 253 of PBP. (Severity: 3)
I believe that this diagnostic was received in error.
Please contact me if more information is needed.
Thank you,
Ken Schafer