in reply to Net::Telnet blocks
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Net::Telnet blocks
by kp2a (Sexton) on Jul 19, 2010 at 03:38 UTC | |
by roboticus (Chancellor) on Jul 19, 2010 at 17:38 UTC | |
by kp2a (Sexton) on Jul 19, 2010 at 15:57 UTC | |
by Corion (Patriarch) on Jul 19, 2010 at 16:00 UTC |