"btw: No Term::ReadKey"

Why?

Are you on a platform on which it doesn't work? Is there some rule from management that bans using software written elsewhere (in which case, how would one use Perl at all?)? Is Term::ReadKey conflicting with some other part of your project? Does requiring the module put you over some storage limit? Are you unaware that CPAN modules can be installed without a superuser account? Does the test suite fail some criterion of yours?

It's not quite fair to a community that has provided you a working solution and tons of advice on how to use the publicly available tools on CPAN to just dismiss a module out of hand without giving a reason. If you have a reason not to use a CPAN module, please have the respect for those reading the thread to state it. That way we can avoid guessing at your issue and get right to either solving it or working around it.


In reply to Re: Non-blocking reading on STDIN? by mr_mischief
in thread Non-blocking reading on STDIN? by woosley

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.