Help for this page

Select Code to Download


  1. or download this
    my @array1 = (1..5); # N
    my @array2 = qw/a b/;
    ...
    # "waitallchildren" or equivalent
    
    # Postprocess step to reduce the final output to 2 files
    
  2. or download this
    use Proc::Fork;
    for my $val1 (@array1) {
    ...
            } # Parent outer fork
        }; # Outer fork
    }