Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I'm uploading my module to CPAN. Should MYMETA.json and MYMETA.yml be included in my distro I upload to CPAN?
  • Comment on Should MYMETA.* Be in My Module Distro?

Replies are listed 'Best First'.
Re: Should MYMETA.* Be in My Module Distro?
by davido (Cardinal) on Jul 04, 2012 at 04:42 UTC

    No. But META.* should.

    There are some details to be found in the POD for ExtUtils::MakeMaker, but probably your best source of information is to find a few modules that use the same maker (Module::Build, ExtUtils::MakeMaker, Module::Install), and browse the distributions.

    Their inclusion is not mandatory, but they're helpful. The META files help in CPAN indexing, and I think they're useful to cpanminus, and possibly others. But MYMETA.* are not intended to be distributed, only the META.* files.


    Dave