After reading some recent stuff about CPANTS, I have decided to include a META.yml and a SIGNATURE file in my CPAN modules. I am looking for guidance from the monastery on the best way to go about this.

For SIGNATURE files, I found Module::Signature on CPAN, and it seems to be the easiest way to do SIGNATURE files. I am concerned though that in the recommended test, it seems to want to connect to an outside key-server. Not being very familiar with this, I am not sure how much of a standard practice this is. I know merlyn has been critical of modules that 'phone home', I am not sure this counts as the same thing.

As for META.yml files, I have found very little (I am sure I am looking in all the wrong places though). I have found the old META.yml spec and a newer META.yml spec on the Module::Build sourceforge page. But perl being perl, I would assume that someone has created some kind of automation tool for this and its location is just eluding me. Also, the new spec has a LOT of fields in it, most of which I am sure are not necessary in many cases. Does anyone have any opinion on what is the best compromise between not-enough-info and too-much-info in the META.yml file?

-stvn

In reply to How to create/generate META.yml and SIGNATURE files for CPAN by stvn

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.