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: 84898
Status: new
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: until block false-positive in hash key
Hi This bug has been forwarded from http://bugs.debian.org/706303, where Guillem Jover reported a false-positive regarding an until block. Original report follows: Package: libperl-critic-perl Version: 1.118-1 Severity: normal Hi! I found the following false-positive while going through the dpkg code base: ,--- until.pl --- #!/usr/bin/perl use strict; use warnings; our $VERSION = '0.00'; my %hash; $hash{since} = 0; $hash{until} = 1; $hash{'until'} = 0; `--- which gives: $ perlcritic --verbose 1 -1 until.pl until.pl:11:7:"until" block used Thanks, Guillem Thanks in advance, Salvatore Bonaccorso, Debian Perl Group
Subject: Re: [rt.cpan.org #84898] AutoReply: libperl-critic-perl: until block false-positive in hash key
Date: Thu, 2 May 2013 21:51:15 +0200
To: Bugs in Perl-Critic via RT <bug-Perl-Critic [...] rt.cpan.org>
From: Salvatore Bonaccorso <carnil [...] debian.org>
Hi Attached an updated testcase giving: $ perlcritic --verbose 1 --severity 1 until.pl until.pl:10:7:"until" block used until.pl:15:9:"until" block used Regards, Salvatore

Message body is not shown because sender requested not to inline it.