- or download this
ssh account@remote.machine.intern -c 'perl -w whatever.pl'
- or download this
use strict;
my @machines = qw( worker1 worker2 worker3 );
...
system(@commandline) == 0
or warn "Couldn't launch >>@cmd<< on $machine: $! / $?";
};
- or download this
...
# Linux parallel, watch out for quoting with your shell!
system("@commandline &") == 0
...
- or download this
...
# Windows parallel, watch out for quoting with your shell!
system(1, @commandline) == 0
...