Randy W. Sims
Sat, 20 Nov 2004 14:07:19 -0800
Tels wrote:
I already wondered many times why the license for most of my modules is not set/shown at search.cpan.org, even though modules like BigInt have simple the perl license (being part of the core etc).
Seems like setting a "license: perl" line in META.yml would fix this. However, everytime I run "make dist", the META.yml file is overwritten again, with the license line missing. And it seems that MakeMaker doesn't have a "LICENSE =>" setting.
Of course, I can set "NO_META" to true, and modify the META.yml file manually, but that looses the handy property that META.yml is autogenerated with the correct dependencies etc. (e.g. everytime I change Makefile.PL, I have to remember to change META.yml, which I surely will forget from time to time. Ugh.)
So, is it possible to have MakeMaker to generate the license line automagically, or I am something missing?
Search for 'sub MY::metafile'
Randy.