in reply to Re^2: 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

Write a deploy script that copies the work script to all servers. Something like this:

#!/usr/bin/perl use strict; use warnings; foreach my $server qw( oldserver newserver strangeserver ) { system "pscp workscript.pl user\@$server:/tmp/workscript.pl"; }

For instant results, add this to the foreach loop:

system "plink user\@$server perl /tmp/workscript.pl -foo -bar -kab +oom";

Or use one of the SSH modules available at CPAN.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)