Subject: | ProhibitCallsToUndeclaredSubs versus extra parens on import |
Date: | Mon, 16 Jun 2008 08:52:11 +1000 |
To: | bug-Perl-Critic-StricterSubs [...] rt.cpan.org |
From: | Kevin Ryde <user42 [...] zip.com.au> |
With perlcritic 1.084, strictersubs 0.03, and the debian packaged perl
5.10.0, the file foo.pl below run through
perlcritic --single-policy=ProhibitCallsToUndeclaredSubs foo.pl
gives
Subroutine "min" is neither declared nor explicitly imported at line 2, column 9. This might be a major bug. (Severity: 4)
which I believe shouldn't be the case.
Message body is not shown because sender requested not to inline it.