Assume that there is a CPAN module called Test_Child.pm which is part of the bigger family of module called Test_Parent.pm. The Test_Child module is primarily used for doing some test in SQL server, but I modified the Test_Child module so that I can use it to test in a PostgreSQL DB. The modifications are very small such that there are only couples of lines that were added and deleted. But I have been looking around CPAN and could not find a module that I modified to suit my needs.

My question is if I want to upload this module into CPAN as a new module, can I do this? Am I violating any laws? What is the procedure to do this (what do I need to write down in the README file)? Assume that I have a PAUSE id already.

I contacted the author of the module already and he did say that I can use the module according to the license terms. The license is "... GNU General Public License as published by the Free Software Foundation, version 2; OR the Perl Artistic License."

In reply to Modifying a CPAN Module and Uploading as a New One? by Anonymous Monk

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.