Personally, my preferred method would be to:

  1. Refactor it to no longer be standalone, but an API that others could use and embed into their own Tk applications.
  2. Modify the script so that it used the API to create the TkMailer window to send whatever you already do.
  3. Put this whole package on CPAN.
You can ship scripts with your modules on CPAN. The focus on the modules, however, is a focus that allows for code-reuse in other applications, which is one of the strengths of perl and CPAN, IMO.

How to on packaging: check ExtUtils::MakeMaker or Module::Build - I think they both talk about how to use them to package your modules.

How to classify: you can ask here. I've seen that done a few times. To give you a headstart, if you do as I suggested above, I'd classify it under "User Interfaces" since it'll be tied closer to Tk than to SMTP.

Who defines - we all do, but if you check PAUSE, they have a section on this.

Hope that helps. It's actually a lot less daunting than it looks. Especially the second time. ;-)


In reply to Re^5: Posting Packaged Applications by Tanktalus
in thread Posting Packaged Applications 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.