in reply to cpan: Terminal does not support AddHistory.
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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: cpan: Terminal does not support AddHistory.
by kcott (Archbishop) on Jan 05, 2021 at 15:11 UTC |