in reply to How to run a perl pgm in remote machine

Hi arunmep,

The answer will depend on how you connect to the remote machine manually.

Do you telnet to it?  Then try Net::Telnet.

Do you have to ssh to it?  Perhaps Net::SSH is what you need.

If it's some more complicated method, you may want to look into using Expect.


s''(q.S:$/9=(T1';s;(..)(..);$..=substr+crypt($1,$2),2,3;eg;print$..$/
  • Comment on Re: How to run a perl pgm in remote machine