Help for this page

Select Code to Download


  1. or download this
    $pm->run_on_finish(
         sub {
    ...
        exec(@some_command); 
        print(STDERR "exec failed: $!\n"); _exit($!); 
    }
    
  2. or download this
    my $pm = new Parallel::ForkManager( 20 );
    
    ...
        exec(@some_command); 
        print(STDERR "exec failed: $!\n"); _exit($!); 
    }