Skip Menu |

This queue is for tickets about the Module-CPANTS-Analyse CPAN distribution.

Report information
The Basics
Id: 94468
Status: resolved
Priority: 0/
Queue: Module-CPANTS-Analyse

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

Bug Information
Severity: (no value)
Broken in: 0.92
Fixed in: (no value)



Subject: "use_strict" metric doesn't like .pod files that contain no perl
This file (lib/Moose/Cookbook.pod) trips up the "use_strict" metric: ----8<---- # Dist::Zilla: +PodWeaver # PODNAME: Moose::Cookbook - How to cook a Moose __END__ =pod ... =cut ---->8---- There is no package declaration here and the file is not intended to be run as perl code, so the metric should not apply to this file.
Thanks. Fixed (hopefully) in the master. https://github.com/cpants/Module-CPANTS-Analyse/commit/b21cf29d63e30422c955cb80a90e11b546b72e58 On Sun Apr 06 08:28:59 2014, ETHER wrote: Show quoted text
> This file (lib/Moose/Cookbook.pod) trips up the "use_strict" metric: > > ----8<---- > > # Dist::Zilla: +PodWeaver > # PODNAME: Moose::Cookbook - How to cook a Moose > > __END__ > > =pod > > ... > > =cut > > ---->8---- > > There is no package declaration here and the file is not intended to > be run as > perl code, so the metric should not apply to this file.
Closing this as 0.93_02 with this fix is released. On Sun Jun 29 11:11:39 2014, ISHIGAKI wrote: Show quoted text
> Thanks. Fixed (hopefully) in the master. > > https://github.com/cpants/Module-CPANTS- > Analyse/commit/b21cf29d63e30422c955cb80a90e11b546b72e58 > > On Sun Apr 06 08:28:59 2014, ETHER wrote:
> > This file (lib/Moose/Cookbook.pod) trips up the "use_strict" metric: > > > > ----8<---- > > > > # Dist::Zilla: +PodWeaver > > # PODNAME: Moose::Cookbook - How to cook a Moose > > > > __END__ > > > > =pod > > > > ... > > > > =cut > > > > ---->8---- > > > > There is no package declaration here and the file is not intended to > > be run as > > perl code, so the metric should not apply to this file.