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
Though you can copy some Perl script there using scp and then run it, or even pass some perl code via stdio to a perl interpreter running on the remote machine.
For instance:
open(my $pipe, "plink /usr/bin/perl </some/local/script.pl |") or die "unable to run command: $!"; while (<$pipe>) { print "response: $_"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: run a perl script on a unix machine from a win machine
by Anonymous Monk on Jan 28, 2012 at 12:08 UTC | |
by salva (Canon) on Jan 28, 2012 at 12:35 UTC | |
by Anonymous Monk on Jan 28, 2012 at 13:10 UTC | |
by salva (Canon) on Jan 28, 2012 at 14:53 UTC | |
by Anonymous Monk on Jan 28, 2012 at 18:40 UTC |