Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Dist-Zilla CPAN distribution.

Report information
The Basics
Id: 55540
Status: rejected
Priority: 0/
Queue: Dist-Zilla

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

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



Subject: DZP::PkgVersion vs. Perl::Critic
Dist::Zilla::Plugin::Version places an "our $VERSION" line right after the "package" declaration, violating the TestingAndDebugging::RequireUseStrict and ::RequireUseWarnings policies in Perl::Critic. There is no workaround short of either disabling the policies or not using the plugin.
Subject: Re: [rt.cpan.org #55540] DZP::PkgVersion vs. Perl::Critic
Date: Sat, 13 Mar 2010 21:16:18 -0500
To: Mark Gardner via RT <bug-Dist-Zilla [...] rt.cpan.org>
From: Ricardo Signes <rjbs [...] cpan.org>
* Mark Gardner via RT <bug-Dist-Zilla@rt.cpan.org> [2010-03-13T20:58:18] Show quoted text
> Dist::Zilla::Plugin::Version places an "our $VERSION" line right after > the "package" declaration, violating the > TestingAndDebugging::RequireUseStrict and ::RequireUseWarnings policies > in Perl::Critic. There is no workaround short of either disabling the > policies or not using the plugin.
use strict; use warnings; package MyPackage; -- rjbs
On Sat Mar 13 21:17:24 2010, RJBS wrote: Show quoted text
> * Mark Gardner via RT <bug-Dist-Zilla@rt.cpan.org> [2010-03-
13T20:58:18] Show quoted text
> > Dist::Zilla::Plugin::Version places an "our $VERSION" line right
after Show quoted text
> > the "package" declaration, violating the > > TestingAndDebugging::RequireUseStrict and ::RequireUseWarnings
policies Show quoted text
> > in Perl::Critic. There is no workaround short of either disabling
the Show quoted text
> > policies or not using the plugin.
> > use strict; > use warnings; > package MyPackage; >
D'oh. Never mind.