in reply to How to run a perl pgm in remote machine
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.
|
|---|