in reply to Net::Telnet issue
Try add some logging for debugging
if ($t = new Net::Telnet ( Timeout => 20, Prompt => $Eleprompt, Input_Log => 'telnet.log' )){
and fix these errors
Possible unintended interpolation of @commandoutput1 in string at telnet0.pl line 23. Possible unintended interpolation of @commandoutput2 in string at telnet0.pl line 25. Global symbol "@commandoutput1" requires explicit package name at telnet0.pl line 22. Global symbol "@commandoutput1" requires explicit package name at telnet0.pl line 23. Global symbol "@commandoutput2" requires explicit package name at telnet0.pl line 24. Global symbol "@commandoutput2" requires explicit package name at telnet0.pl line 25.poj
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Net::Telnet issue
by Anonymous Monk on Feb 23, 2018 at 15:42 UTC | |
by Corion (Patriarch) on Feb 23, 2018 at 15:49 UTC | |
by Anonymous Monk on Feb 23, 2018 at 15:58 UTC | |
by poj (Abbot) on Feb 23, 2018 at 16:47 UTC | |
by Anonymous Monk on Feb 25, 2018 at 10:38 UTC |