in reply to Timeout parameter for Net::Telnet under Windows
Maybe use IO::Socket to make the connection then the Fhopen option on Net::Telnet::new to establish the Telnet session:
my $s = IO::Socket::INET::new(PeerHost => $host, PeerPort => $port, Blocking => 0, ...); my $t = Net::Telnet::new(fhopen => $s, ...);
Disclaimer: Not tested. YMMV
|
|---|