in reply to Re: Timeout parameter for Net::Telnet under Windows
in thread Timeout parameter for Net::Telnet under Windows
Ok, so I tried this. But I don't know exactly how to pull it off.
I took the Host out of the new() constructor so that the constructor would not call open(), and added these lines of code:
I get this error:289 t->{Host} = $host; 290 t->SUPER::timeout(1); 291 t->open();
Error: Not a HASH reference at line test.pl line 289.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Timeout parameter for Net::Telnet under Windows
by Mr. Muskrat (Canon) on Jan 22, 2016 at 19:07 UTC | |
by SwaJime (Scribe) on Jan 22, 2016 at 19:44 UTC | |
by Mr. Muskrat (Canon) on Jan 22, 2016 at 19:51 UTC |