Help for this page

Select Code to Download


  1. or download this
      $pm->run_on_finish(
        sub { my ($pid, $exit_code, $ident) = @_;
    ...
            "with PID $pid and exit code: $exit_code\n";
        }
      );
    
  2. or download this
    $thr4 = threads->new(\&processor);
    $thr4->detach;
    ...
         sleep(1);
         #$pm->wait_all_children;
    }
    
  3. or download this
    sub processor{
        my @row;
    ...
          #$pm->wait_all_children;
        }    
    }