in reply to Re^3: run a perl script on a unix machine from a win machine
in thread run a perl script on a unix machine from a win machine

Yes...that is exactly what I would like to achieve.
  • Comment on Re^4: run a perl script on a unix machine from a win machine

Replies are listed 'Best First'.
Re^5: run a perl script on a unix machine from a win machine
by marto (Cardinal) on Dec 01, 2011 at 15:57 UTC

    Then this isn't going to work. You should read and understand what plink does, and think about how perl works too. IMHO you should write a script which copies your file to the target servers, connects to each server in turn (via the likes of Net::SSH) executes the script and captures (or transfers) the results/output if appropriate.

      Exactly! I totally agree. Having a UNIX machine interpret a Perl script from your PC is not the best of software development practices. You can add a section in the script to FTP it to your local system or even email it to you if the command line email client is enabled on the servers.