then i add this lines: my $str = 'hostname'; $telnet->errmode(sub {die @_ unless $_[0] =~ /eof/}); $telnet->errmode(); my @tmp = $telnet->cmd($str); print @tmp; but i dont get any prints, but when i try to print again i get: write error: filehandle isn't open at D:\Documents and

than mean that telnet connection doesn't open

i work with input and dump log but i can't understand where i get wrong...