Help for this page

Select Code to Download


  1. or download this
    use Parallel::ForkManager;
    use IPC::Shareable;
    
    ...
            $pm->finish;
    }
    $pm->wait_all_children;
    
  2. or download this
    for(my $i = 0; $i < 100; $i++) {
            $pm->start and next;
            if($testvr >= 5) {
    ...
            $pm->finish;
    }
    $pm->wait_all_children;