Under Unix/Linux you can also use Net::OpenSSH and Net::SSH::Expect.
In reply to Re^3: Persistent SSH Terminal from Perl? by salva in thread Persistent SSH Terminal from Perl? by nanomonk