The same issue with the same module Net::Telnet.
My script has "use strict; use warnings;". There are no errors in the script.
It works under debugger and doesn't work in the flat run (the function getlines returns only one string instead of 25 under debugger).
Perl 5.8.8 under CentOS 5.11, perl-Net-Telnet-3.03-5.
The main excerpt:
- @lines = $t->getlines(All => 0);