Having recently discovered ExtUtils::MakeMaker ExtUtils::ModuleMaker, I am wondering how to use it sensibly with a version control (VC) system.

I can imagine doing something like this:

  1. create MyModule-0.01 with MakeMaker ModuleMaker
  2. rename MyModule-0.01 to MyModule
  3. check MyModule in to VC
  4. write, test, become satisified with wonderful module
  5. create MyModule-0.01
  6. copy the contents of MyModule to MyModule-0.01

This, or a least my thinking, seems a little clunky. The problem is obviously the version in the main directory name, which I don't seem to be able to suppress via MakeMaker ModuleMaker(so I guess I shouldn't be trying to). How do real CPANers deal with this?

loris

Update:Got my Makes and my Modules mixed up. Doh!


In reply to Using ExtUtils::ModuleMaker with Version Control by loris

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.