Hi,

Recently I bought "Object Oriented Perl" written by Damian Conway. I have to say that I found it a very good read indeed. In fact it inspired me to give OO a try myself. I had never written a module before. But I have written a lot of scripts, including some very large ones [1], so I figured Perl itself shouldn't be too much of a problem for this endeavour.

To fill in the need for a simple-to-use terminal-based menuing system at our organization I decided to write something that would make building menus an easy task [2]. I think I have achieved this, but before submitting it to CPAN (and possibly make a fool of myself) I'd appreciate it if other (more experienced) Perl hackers could take a look at it.

One of the things bothering me is the test script. Currently it only tests if the Carp and Term::ReadKey modules are available. Surely that isn't good enough, but I don't know what more to test for besides that.

Any suggestions to make this distribution archive suitable for putting on CPAN would be appreciated very much.

The tarball with the full distribution is available at http://huizen.dto.tudelft.nl/devries/files/Term-ANSIMenu-0.01.tar.gz

Originally I had the output of pod2text appended, but it made the post a bit too long. So I figured I'd ask first before doing that. Anyone object to such a posting?

Thanks in advance for your time.

[1] One of those is an elaborate LDAP equivalent to what analog does for HTTP logs. It includes some graphs that would make for a nice extension to the current GD::Graph offerings. That will be my second OO project }:-)

[2] I know about perlmenu, but that didn't fit our needs.


In reply to [RFC] new module Term::ANSIMenu by Anonymous Monk

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.