Did you read this bit in the pod?:
The methods login() and cmd() use the prompt setting in the object to determine when a login or remote command is complete. Those methods will fail with a time-out if you don't set the prompt correctly.Use a combination of print() and waitfor() as an alternative to login() or cmd() when they don't do what you want.
In reply to Re: Net::Telnet blocks
by BrowserUk
in thread Net::Telnet blocks
by kp2a
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |