in reply to Have some questions regarding timeout values when using Net::Telnet

You are probably getting a Timeout in both cases.
The Default Timeout is 10 seconds, which is why the first option returns fairly soon.

Without seeing your Telnet dialog, it is difficult to suggest a course of action. I suspect you need to correct the Prompt. Try setting it to />$/ (For Windows-style Prompt).

    Earth first! (We'll rob the other planets later)

  • Comment on Re: Have some questions regarding timeout values when using Net::Telnet