ActiveState Perl - 5.26 on Windows 10 - 64 bit.
When I am trying to launch cpan from CMD - I see the following error:
C:\Users\orenm>cpan
Unable to get Terminal Size. The Win32 GetConsoleScreenBufferInfo call didn't work. The COLUMNS and LINES environment variables didn't work. at C:\Perl64\lib/Term/ReadLine/readline.pm line 410.
Why does it happen? What shall I do with it?
It's trying to figure out your terminals size. You can use a 'dumb' terminal.
set TERM=dumb
will eliminate the warning.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With