← Back to team overview

pkg-perl-maintainers team mailing list archive

[Bug 1086527] [NEW] Some false positives

 

Public bug reported:

With this file:
https://svn.strasweb.fr/dl.php?repname=Pierre+Rudloff&path=%2Fperl%2FLatexRudloff.pl&rev=46
I get some false positives:
pierre@pierre-MacBook:/var/www/svn-rudloff/perl$ perlcritic --brutal LatexRudloff.pl 
Close filehandles as soon as possible after opening them at line 16, column 8.  See page 209 of PBP.  (Severity: 4)
File handle for "print" or "printf" is not braced at line 37, column 17.  See page 217 of PBP.  (Severity: 1)

I can't close the file handle sooner or it won't work.
And $space is not a file handle so it does not need to be braced.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: libperl-critic-perl 1.117-2
ProcVersionSignature: Ubuntu 3.5.0-19.30-generic 3.5.7
Uname: Linux 3.5.0-19-generic i686
ApportVersion: 2.6.1-0ubuntu6
Architecture: i386
Date: Tue Dec  4 20:21:41 2012
MarkForUpload: True
PackageArchitecture: all
SourcePackage: libperl-critic-perl
UpgradeStatus: Upgraded to quantal on 2012-10-25 (40 days ago)

** Affects: libperl-critic-perl (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 quantal

-- 
You received this bug notification because you are a member of Debian
Perl Group, which is subscribed to libperl-critic-perl in Ubuntu.
https://bugs.launchpad.net/bugs/1086527

Title:
  Some false positives

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libperl-critic-perl/+bug/1086527/+subscriptions


Follow ups

References