http://qs321.pair.com?node_id=737981


in reply to Would like Net::Telnet to transfer control.

I'm not sure you can do that with Net::Telnet, but it might be possible with Expect

Specifically, you could run telnet in Expect, than at the right moment, invoke the interact command.