Subject: | distmeta: invalid requires/perl version (v-string) |
M::B 0.3607 generates invalid version values in META.yml.
With the following arg:
requires => {
perl => '5.6.0',
}
the META.yml generated by './Build distmeta' contains:
requires:
perl: v5.6.0
The 'perl' version value is a v-string. This does not match the
specification for versions:
http://module-build.sourceforge.net/META-spec-v1.4.html#version_specifications
Attached a test Build.PL.
--
Olivier Mengué - http://o.mengue.free.fr/
Subject: | Build.PL |
use Module::Build;
Module::Build->new(
dist_name => 'toto',
dist_version => 1,
dist_author => 'DOLMEN',
dist_abstract => 'Toto',
requires => {
perl => '5.6.0',
XXXYYZ => '5.6.0',
}
)->create_build_script;