1

I have two machines A and B. Machine B has perl installed and scripts are placed in a shared directory. Machine A doesn't have perl installed (I don't want to install perl on this machine). There is some automation running in Machine A and that automation wants to trigger perl scripts in Machine B by passing some parameters.

Is this possible? What is recommended?

Thanks

zb226
  • 9,586
  • 6
  • 49
  • 79
Virus
  • 3,215
  • 7
  • 29
  • 46
  • 1
    http://stackoverflow.com/questions/18502945/how-to-execute-a-remote-command-over-ssh-with-arguments ? – mpapec Apr 15 '15 at 08:21
  • If it's not important that the Perl scripts run *on* Machine B, but instead that the Perl scripts *residing on* Machine B be run by *any* Machine, then you can share the Perl scripts and the Perl install from Machine B, and run them from any remote Machine that can access the fileshare. – jimtut Apr 15 '15 at 16:25

1 Answers1

1

There's probably more possibilites, but from the top of my head:

As long as the machine on which the perl scripts are to be executed has perl installed, it's not a problem if the caller machine doesn't.

zb226
  • 9,586
  • 6
  • 49
  • 79