Hello,
 
I am posting here as a last resort after exhausting the available documentation on Packaging up a Module for distribution.
 
I know how h2xs -AX -n ModuleName is used, for packaging _A_ module. (One module). I can't find ANY examples covering packaging up a complete program.
 
I have a perl script that uses a number of modules that I've created. How do I set it up so that when doing the 'perl Makefile.pl', 'make', 'make test', 'make install', I am usuing all of these modules, and the actually script that I want people to use.
 
Can someone post a complete example using more that one module with a primary executable script all one happy package OR explain to me the "correct" way to think about this type of a situation.
 
Exscuse me if I am being vague, but the subject that I am covering is very general and I haven't been able to find any documented examples to better clear up my misunderstandings.
 
Thanks in advance.

In reply to Packaging Up a Complete Perl Program by nick

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.