Skip Menu |
 

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

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

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

Bug Information
Severity: Normal
Broken in:
  • 0.92
  • 0.93_04
Fixed in: (no value)



Subject: use_strict metric does not recognize `use v5.14` syntax
Download (untitled) / with headers
text/plain 690b
Checking a release tarball with cpants_lint.pl, I found that Module::CPANTS::Analyse 0.92 (and 0.93_04) fail the use_strict metric when the modules require perl 5.14 with the v syntax: ``` use v5.14; ``` but succeed when using the decimal syntax: ``` use 5.014; ``` I've avoided the problem by changing[1] `use` syntaxes, but would prefer to see this fixed upstream. I tried to discover if the problem was in Module::CPANTS::Kwalitee::Uses or some other piece of code (perhaps Module::ExtractUse), but couldn't easily discover the exact location of the issue. [1] https://github.com/kasei/attean/commit/87a866eca1a4b8f38eeab6d379ded9c20b62177a#diff-5c6f545fac1ad72ab9d2b240f18541faL29
Download (untitled) / with headers
text/plain 946b
On Fri Sep 26 02:14:29 2014, GWILLIAMS wrote: Show quoted text
> Checking a release tarball with cpants_lint.pl, I found that > Module::CPANTS::Analyse 0.92 (and 0.93_04) fail the use_strict metric > when the modules require perl 5.14 with the v syntax: > > ``` > use v5.14; > ``` > > but succeed when using the decimal syntax: > > ``` > use 5.014; > ``` > > I've avoided the problem by changing[1] `use` syntaxes, but would > prefer to see this fixed upstream. I tried to discover if the problem > was in Module::CPANTS::Kwalitee::Uses or some other piece of code > (perhaps Module::ExtractUse), but couldn't easily discover the exact > location of the issue. > > [1] > https://github.com/kasei/attean/commit/87a866eca1a4b8f38eeab6d379ded9c20b62177a#diff- > 5c6f545fac1ad72ab9d2b240f18541faL29
Thanks for your report. Fixed in the master and shipped as 0.94: https://github.com/cpants/Module-CPANTS-Analyse/commit/cfea58b76d00bd1c2eb8b87406fb41e144e9ac01


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

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