Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Perl-Critic CPAN distribution.

Report information
The Basics
Id: 82636
Status: open
Priority: 0/
Queue: Perl-Critic

People
Owner: Nobody in particular
Requestors: carnil [...] debian.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



From: CARNIL [...] cpan.org
Subject: libperl-critic-perl: Mixed bool operators false positive on postfix control
Hi This bug has been forwarded from http://bugs.debian.org/697921 and reported by Guillem Jover <guillem@debian.org>: ----cut---------cut---------cut---------cut---------cut---------cut----- Package: libperl-critic-perl Version: 1.118-1 Severity: normal Tags: upstream Hi! Here's what seems like a false positive that I found while going over the dpkg code: ,--- mixed-bool.pl #!/usr/bin/perl use strict; use warnings; our $VERSION = '0.0'; my $value = 0; $value ||= 1 if 1 and 1; 1; `--- Reproducible with: $ perlcritic -s ProhibitMixedBooleanOperators mixed-bool.pl Thanks, Guillem ----cut---------cut---------cut---------cut---------cut---------cut----- Thanks in advance, Salvatore Bonaccorso, Debian Perl Group
Subject: Re: [rt.cpan.org #82636] libperl-critic-perl: Mixed bool operators false positive on postfix control
Date: Tue, 29 Jan 2013 14:21:43 -0800
To: bug-Perl-Critic [...] rt.cpan.org
From: "Thalhammer, Jeffrey" <jeff [...] imaginative-software.com>
Thanks for passing this along. We will look into it as soon as we can