in reply to writing to an object (telnet session) using expect
If the server is Win32, or, say, a Cisco router, you may be having trouble with Telnet options inserting a character in the username as a funky side-effect of session negotiation. If you connected manually, you'd see the character, backspace it, and logon fine.
But no matter what is causing the problem, as BUU said, you're better off going with the right module: Net::Telnet
|
|---|