Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: How are license keys of ExtUtils::MakeMaker and CPAN::Meta::Spec related?

by Anonymous Monk
on Mar 13, 2020 at 07:12 UTC ( [id://11114205]=note: print w/replies, xml ) Need Help??


in reply to How are license keys of ExtUtils::MakeMaker and CPAN::Meta::Spec related?

If you look at the files generated

The eumm generated MYMETA.json/META.json use meta-spec 2.0 http://search.cpan.org/perldoc?CPAN::Meta::Spec where license is an array

while the MYMETA.yml/META.yml uses http://module-build.sourceforge.net/META-spec-v1.4.html#license where license is a string

I don't see how ExtUtils::MakeMaker, which only allows a single license value, could create the multiple license values as described in CPAN::Meta::Spec.

Its possible using https://perldoc.perl.org/5.30.0/ExtUtils/MakeMaker.html#META_ADD/META_MERGE

The yml files end up with a string, the json files end up with an array

LICENSE Available in version 6.31 and above. The licensing terms of your distribution. Generally it's "perl_5" for +the same license as Perl itself. See CPAN::Meta::Spec for the list of options. Defaults to "unknown".

This means it takes a string

  • Comment on Re: How are license keys of ExtUtils::MakeMaker and CPAN::Meta::Spec related?
  • Download Code

Replies are listed 'Best First'.
Re^2: How are license keys of ExtUtils::MakeMaker and CPAN::Meta::Spec related?
by kcott (Archbishop) on Mar 13, 2020 at 14:04 UTC

    ++ Many thanks for that information.

    I think META_ADD and META_MERGE fill the gaps to which I alluded with: "... I'm missing some other information which glues these two together."

    — Ken

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-04-23 21:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found