Just keep adding .pm files to the lib directory of your skeleton build and .pl files to the script directory. The build process is smart enough to scan the lib directory and file all the modules stored there. They will be automatically added to your MANIFEST (the list of files that will get bundled into the tarball), when you run build manifest.

If you haven't seen it already, you might also want to check out, RFC: How to Release Modules on CPAN in 2011. It begins with a section that demystifies the contents of the project work area.

If you did check it out already, and asked this question because that essay wasn't clear, let me know (you can private message me) and I'll update the RFC - I think it needs a section anyway on tools for building the skeleton directory.


In reply to Re: How to create a distribution package with multiple class files by ELISHEVA
in thread How to create a distribution package with multiple class files by rmcgowan

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.