HI there, seems this bug has cropped up again. In truth, it was really never "resolved", just it was resolved enough for most people not to notice.
https://metacpan.org/module/HTML::Template::Pro # on the left.
Its mostly because the literal string 'perl or LGPL2+' is not recognised by either the META1.4 or META2.0 Specifications.
According to the META1.4 spec , a valid license string can only be one of the following:
https://metacpan.org/module/Module::Build::API#license
And this is somewhat limiting.
Your choices are as follows:
1. Use only a license string from the above list.
2. Upgrade to a very recent version of ExtUtils::MakeMaker that supports emitting META.json ( in the META2.0 format ) which will let you then specifiy an array as your license string, ie:
LICENSE => [ 'perl', 'lgpl_2_1']
Which will then populate the META.json ( 2.0 spec ) correctly as :
"license" : [
"perl_5",
"lgpl_2_1"
],
And populate the META.yaml ( 1.4 spec ) as the closest approximation supported
license: unknown
I tested this myself by augmenting your Makefile.PL as stated above and the resulting files in my "make distdir" came out like this:
https://gist.github.com/1937763
But Do note I'm using an incredibly recent ExtUtils::MakeMaker for this ( blead perl ) and I'm not sure how recent a version you need ( But I *Can* tell you 6.56 is too old )
This will also likely require you to depend on a very recent version of EUMM and propagate that dependency to your users.
Hope this helps.