Help for this page

Select Code to Download


  1. or download this
          # Wait for the MySQL server to become responsive.
          my $tries = 0;
          while ( !$dbh->ping && $tries++ < $opts{w} ) {
             sleep(1);
             eval {
    
  2. or download this
          # Start a new child process.
          while ( @work_to_do && $opts{m} > keys %kids ) {
             my $todo = shift @work_to_do;