Closed Leont closed 10 years ago
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 think that a good solution is adding an alias Modules.
https://github.com/magnolia-k/Software-License/commit/a0ac1ac9d63951e13ee62016b2bc8943b7efa2b6
I wrote 'use parent version'.
https://github.com/magnolia-k/Software-License/commit/67d6187418710ea11ea44ee1b71fbf481184d912
I did what we discussed and added guess_license_from_meta_key.
The classnames of
Software::License::Artistic_1_0
andSoftware::License::Artistic_2_0
don't match with the CPAN::Meta::Spec 2.0 entriesartistic_1
andartistic_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.