Thanks for your input.

Rest assured that I was never planning to upload junk, but scripts which I consider to be good quality, and which others around me agree, however I am thinking single file perl scripts rather than perl modules or applications where the logic live in .pm files rather than the main script.

From Corion's advice, it looks like the best approach would be to refactor the script to move as much functionality as is reasonable into separate perl modules or classes. These perl modules can then be shared on CPAN. The (hopefully) small script that is left after most of it's logic goes into modules can then be added as an optional script in the /bin directory of one of the module bundles.

Thinking about how I would do that re-factoring, I considered the functional components and searched CPAN for equivalent code by other authors. I found that in one area (An interface to IMDB someone else has already an alternative module), so I won't be duplicating that, instead I will modify my scripts, to use the module, and will be sending the module author patches and bug reports.

In other areas, I did not find anything on CPAN that covers what I have done, so I guess I will be polishing my code and adding tests so that I can upload it. I don't think I will be uploading any actual scripts for a while.

Thank you all for your comments.


In reply to Re^2: On uploading scripts to CPAN by chrestomanci
in thread On uploading scripts to CPAN by chrestomanci

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.