Perl-Toolchain-Gang / Software-License

perl representation of common software licenses

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Artistic classnames don't match meta spec

Leont opened this issue · comments

The classnames of Software::License::Artistic_1_0 and Software::License::Artistic_2_0 don't match with the CPAN::Meta::Spec 2.0 entries artistic_1 and artistic_2. This confuses Module::Build.

Should they match? The fact that the rest does suggests this is the case, as does the logic in guess_license_from_meta, but this isn't explicitly state anywhere.

If they are supposed to match, it would be good to add a unit test that runs through all the names known to the spec to make sure that they stay matched.

I did what we discussed and added guess_license_from_meta_key.