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: 82660
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: Comma separated statement false positive on scalar hashref
Download (untitled) / with headers
text/plain 833b
Hi This bug has been forwarded from http://bugs.debian.org/697993 which was 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: ,--- scalarref-comma.pl #!/usr/bin/perl use strict; use warnings; our $VERSION = '0.0'; my $scalarref = \{ 'name' => [], }; 1; `--- Reproducible with: $ perlcritic -s ProhibitCommaSeparatedStatements scalarref-comma.pl If the single quotes around 'name' are removed, then it does not seem to trigger. Thanks, Guillem ----cut---------cut---------cut---------cut---------cut---------cut----- Thanks in advance, Salvatore Bonaccorso, Debian Perl Group


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.