in reply to Problem to connect remote server by using telnet module

You must give the telnet object a prompt pattern. Check Net::Telnet again, section DESCRIPTION. If there's no prompt, the reading routine can't figure out it should return and runs into a timeout.
_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
  • Comment on Re: Problem to connect remote server by using telnet module