First, as GrandFather points out, CPAN is much more oriented towards archival of modules. However, nothing prevents a module from having scripts that invoke their behaviour. For example, Mail::SpamAssassin. This module provides not only some modules that do the work of the Spam Assassin, but they provide a convenient script that invokes it from the command line.

Next, the namespace. I'm not sure - there is the Project namespace that this may fit well.

Finally, the distribution must do that bit. Of course, how a distro does this is distro-dependant. Gentoo is very community-based, if you provide an ebuild, they'll probably put it in (there may be some red tape - I've never tried this before). RedHat, however, seems entirely closed. I suspect Debian to be closer to Gentoo on this than RedHat, but I've never actually used that distro. I, personally, would recommend ignoring this, and instead document the CPAN interface for getting your code - after all, users will have to have perl installed first anyway, so grabbing your stuff via CPAN probably won't be a huge hardship.

Hope that helps,


In reply to Re: Module Publishing Dilemma by Tanktalus
in thread Module Publishing Dilemma by ait

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.