Help for this page

Select Code to Download


  1. or download this
    while (1) {
        $pm->start and next;
    ...
        ...
        $pm->finish;
    }
    
  2. or download this
        $pm->wait_all_children;
    
  3. or download this
    $pmgr->run_on_finish(
        sub {
    ...
            waitpid $pid, 0;
        }
    );