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:
56628
Status:
rejected
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
JARIAALTO [...] cpan.org
Cc:
AdminCc:

BugTracker
Severity:
Normal
Broken in:
(no value)
Fixed in:
(no value)



Subject: Always unpack @_ first, Nested named subroutine (false positives)
MULTIPLE FALSE POSITIVES Always unpack @_ first at line 4, column 1. See page 178 of PBP. Nested named subroutine at line 6, column 5. Declaring a named sub inside another named sub does not prevent the inner sub from being global. Global variable "*Print" is not all lower case or all upper case at line 7, column 5. See pages 45,46 of PBP. Variable declared as "local" at line 7, column 5. See pages 77,78,79 of PBP. 1 #!/usr/bin/perl 2 use strict; 3 4 sub test () 5 { 6 sub Print(@); 7 local *Print = sub (@) 8 { 9 print "PREFIX: ", @_, "\n"; 10 }; 11 12 Print 1, 2, 3; 13 }
Subject: Re: [rt.cpan.org #56628] Always unpack @_ first, Nested named subroutine (false positives)
Date: Thu, 15 Apr 2010 08:10:18 -0500
To: bug-Perl-Critic@rt.cpan.org
From: Elliot Shank <perl@galumph.com>
These are all true positives.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

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