http://www.perlmonks.org?node_id=37232


in reply to How do I do an interactive rlogin in Perl?

Since you have rlogin, you should also have rsh. So:
qx( rsh $host "$command" );

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.