Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: Fixing Kwalitee

by Khen1950fx (Canon)
on Sep 03, 2014 at 01:27 UTC ( #1099336=note: print w/replies, xml ) Need Help??

in reply to Fixing Kwalitee

I used Test::CPAN::Meta::YAML to check the validity of the YAML.
#!/usr/bin/perl use strict; use warnings; use Test::More tests => 2; use Test::CPAN::Meta::YAML; meta_spec_ok('META.yml', 1.4, 'valid YAML');
The problem is requires:. You would want to use 0 and not the tilde. Here's the corrected META.yml:
--- #YAML:1.0 name: TinyDNS-Reader version: 0.5 abstract: Parser for TinyDNS records. author: - Steve Kemp <> license: perl_5 distribution_type: module configure_requires: ExtUtils::MakeMaker: 0 build_requires: ExtUtils::MakeMaker: 0 requires: Test::More: 0 Test::NoTabs: 0 Test::Pod: 0 resources: bugtracker: homepage: license: repository: no_index: directory: - t - inc generated_by: ExtUtils::MakeMaker version 6.57_05 meta-spec: url: version: 1.4
The test results:
1..2 ok 1 - META.yml contains valid YAML ok 2 - valid YAML
The YAML is valid.

Replies are listed 'Best First'.
Re^2: Fixing Kwalitee
by skx (Parson) on Sep 03, 2014 at 07:11 UTC

    Perfect, thank you very much.


Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1099336]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2021-10-25 23:03 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (90 votes). Check out past polls.