Skip Menu |

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

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

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

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



Subject: use_strict test doesn't allow alternatives
Using strict is obviously a good idea, but there are numerous acceptable alternatives. Moose is already handled, but common::sense, perl5i, Modern::Perl and others are all acceptable replacements for 'use strict'. Please recognize these in the use_strict test.
Subject: Re: [rt.cpan.org #67679] AutoReply: use_strict test doesn't allow alternatives
Date: Thu, 21 Apr 2011 20:45:01 -0300
To: bug-Module-CPANTS-Analyse [...] rt.cpan.org
From: Mike Doherty <doherty [...] cs.dal.ca>
Here's a patch... I'll do a pull req on github too. -Mike

Message body is not shown because sender requested not to inline it.

On 2011-04-22T00:45:19+01:00, doherty@cs.dal.ca wrote: Show quoted text
> Here's a patch... I'll do a pull req on github too.
Correct me if I'm wrong, but say a distribution contains 3 modules. If two modules don't use strict, but the third one does this: use strict; use common::sense; use Modern::Perl; Then it will pass the use strict indicator.
Le 2011-10-09 23:53:21, TOBYINK a écrit : Show quoted text
> Correct me if I'm wrong, but say a distribution contains 3 modules. If > two modules don't use strict, but the third one does this: > > use strict; > use common::sense; > use Modern::Perl; > > Then it will pass the use strict indicator.
@TOBYINK: This patch is for the cases were common::sense or Modern::Perl are used alone, without the 'use strict'. Those modules implies 'use strict', so the Kwalitee test should pass.
Le 2011-04-22 01:45:19, doherty@cs.dal.ca a écrit : Show quoted text
> Here's a patch... I'll do a pull req on github too. > > -Mike
@DOHERTY Please add 'Moo' and 'Dancer' too. -- Olivier Mengué - http://perlresume.org/DOLMEN
fixed on github