in reply to How to give prompt

See Double prompt in Net::Telnet.