Hi, I read from "Writing Perl modules for CPAN" recently and it was pretty good. Now we have Dist::Zilla which does a lot of the work of writing pod tests, building, uploading to CPAN, prepends use strict;use warnings to your files or some other piece of code(that you can specify0, and a lot more(check plugins for Dist::Zilla on CPAN). You just write in ~/.dzil/config.ini your username and password to your PAUSE account and after that when you run dzil release the module is automatically built and uploaded to your PAUSE account. You can also have the version set in dzil.ini so that it gets into the POD of each of your .pm files, and it builds your Makefile.PL for you.

Use Test::Kwalitee as a separate test for your module. It will make various checks on your module and tell you what you need to add/correct.

For OO use Moose.


In reply to Re: Proposed module for CPAN by spx2
in thread Proposed module for CPAN for FilePro data file reading by tdane

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.