CPANTS | CPAN Testing Service -
kandi X-RAY | CPANTS Summary
kandi X-RAY | CPANTS Summary
CPAN Testing Service
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of CPANTS
CPANTS Key Features
CPANTS Examples and Code Snippets
Community Discussions
Trending Discussions on CPANTS
QUESTION
I’d like to specify minimum required Perl version in the yaml file. While I did put perl among requirements in my dist.ini, I think I need some module to have it written to the yaml file at build time.
My dist.ini is https://metacpan.org/source/PROCH/Proch-N50-0.032/dist.ini
The kwalitee issue is described here https://cpants.cpanauthors.org/kwalitee/meta_yml_declares_perl_version
Thanks for your help.
...ANSWER
Answered 2019-May-03 at 21:42The convention for specifying a minimum perl version for a distribution is a runtime-requires prerequisite on 'perl'. (Note: I say convention, because there is no 'perl' module, and you can't actually cause a CPAN client to install a newer Perl if it's too old.) The appropriate plugins will read this and set other things based on it, like "use 5.XXX" in the generated Makefile.PL. Instead of passing prereqs as options to [@Basic]
, you need to use a plugin which can set prereqs, like [Prereqs]
. Here is the documentation. You would want to use it like:
QUESTION
After I upload a module to PAUSE I can go sometime later to cpants.cpanauthors.org or metacpan.org and see a bunch of Kwalitee output and a Kwalitee score. How are you supposed to get this same information beforehand?
For instance, I have the issue:
...ANSWER
Answered 2017-Oct-05 at 06:11After spending some time writing a conditional t/kwalitee.t test using Test::Kwalitee and Module::CPANTS::Analyse I stumbled upon the Ubuntu package libapp-cpants-lint-perl which installs the command cpants_lint. To use run:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install CPANTS
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page