Hello kcott

Using perl 5, version 14, subversion 2 (v5.14.2) built for MSWin32-x86-multi-thread, and running debugger from cmd with the -d switch, a warning about SetConsoleMode failed at line 277 Term::ReadKey.pm is produced.

I looked into it a little bit and found the issue to be literal backticks being used in Term::ReadKey. That is to say there was no fail message when I (iirc) replaced with perl function system call. As described in Mastering Perl, using the first element of array code sub form.

I thought I had posted a SoPW about that, though cannot find any related threads; may have been chatterbox. I did not follow up with a bug report, due to only reproducing on an earlier than current version.

I recently acquired perl 5, version 30, subversion 1 (v5.30.1) built for MSWin32-x86-multi-thread and can confirm there are no warnings produced when running debugger via switch.

However, Corelist doesn't appear to mention Term::Readkey as being released with core, and as such is explainably not shipped with the vendor version. Term::ReadLine has been included with Core since at most v5.2, and was updated as recently as v5.27.4


In reply to Re: cpan: Terminal does not support AddHistory. by Don Coyote
in thread cpan: Terminal does not support AddHistory. by kcott

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.