Help for this page

Select Code to Download


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