I am preparing some modules for release on CPAN. The code consists of a core group of modules and several modules defining optional extensions. I would like to release the core and four extension modules as separate packages.

The Module::Build documentation (tutorials, cookbooks, etc) all seem to assume that one is building a single tarball for distribution rather than five at once with one that should be defined as the precursor of the other four.

All the examples using precursors also assume that the precursor modules are already installed rather than one of the packages that need to be built. I can't seem to find any examples or discussions explaining how I can

  1. use Module::Build to let me build five modules
  2. declare one of those modules as a precursor of the others.

If some one knows some links with examples or has some practical experience of their own to share, I would be most grateful. I'm not stuck on Module::Build - if there are better tools out there for building multiple tarballs, I welcome recommendations.

Many thanks in advance, beth

In reply to How do I configure Module::Build to build multiple packages from the same lib directory? by ELISHEVA

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.