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

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

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



Subject: Code before warnings are enabled (possibly false positive)
Code before warnings are enabled at line 6, column 1. See page 431 of PBP. 1 #!/usr/bin/perl 2 use strict; 3 4 use vars qw ( $VERSION ); 5 6 my $VERSION = '2010.0414.1424'; shouldn't "use strict" be enough?
Subject: Re: [rt.cpan.org #56616] Code before warnings are enabled (possibly false positive)
Date: Thu, 15 Apr 2010 08:03:20 -0500
To: bug-Perl-Critic@rt.cpan.org
From: Elliot Shank <perl@galumph.com>
On 4/15/10 3:17 AM, Jari Aalto via RT wrote:
Show quoted text
> shouldn't "use strict" be enough?
No, it shouldn't. TestingAndDebugging::RequireUseStrict is a separate policy. Turn off TestingAndDebugging::RequireUseWarnings if you disagree.


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.