Subject: | [meta] meta_merge => resources => license does not accept an ARRAY |
The CPAN::Meta::Spec says:
http://search.cpan.org/dist/CPAN-Meta/lib/CPAN/Meta/Spec.pm#resources
resources => {
license => [ 'http://dev.perl.org/licenses/' ],
...
}
But Module::Build 0.3800 refuses an ARRAY as a value for license. For
example:
meta_merge => {
resources => {
license => [ 'http://www.gnu.org/licenses/gpl-3.0.html' ],
},
},
Here is the error:
Could not get valid metadata. Error is: Invalid metadata structure.
Errors: 'ARRAY(0x13714fc)' for 'license' does not have a URL scheme
(resources -> license) [Validation: 1.4]
at C:/strawberry/perl/lib/Module/Build/Base.pm line 4559
The only accepted license value seems to be a SCALAR value.
Module::Build 0.3800
CPAN::Meta 2.110580
--
Olivier Mengué - http://search.cpan.org/~dolmen/ http://github.com/dolmen/