nafion112 has asked for the wisdom of the Perl Monks concerning the following question:

Hi Everyone! I'm trying to use Net::Telnet to automate a remote login and do some things for me before transferring control over to my terminal. I've gotten everything to work except for the last part. How would I tell my telnet object that I want its connection dropped off at my terminal before closing it. Thanks!
  • Comment on Would like Net::Telnet to transfer control.

Replies are listed 'Best First'.
Re: Would like Net::Telnet to transfer control.
by matija (Priest) on Jan 21, 2009 at 22:44 UTC

    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.