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

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

Hello,

I'm going to work on a script that will execute commands on a remote system, and I'm curious as to what the better mechanism is, Perl's expect or Telnet module ? Are there any pros or cons to each ? I'm not doing anything that complicated and I'm not worried about security (isolated LAN).

Any thoughts ??

Any help is much appreciated.