Help for this page

Select Code to Download


  1. or download this
     foreach my $i (0..$#tmp) {
          # Forks and returns the pid for the child:
    ...
            next;
            };
    }
    
  2. or download this
      my $filename = $tmp[$i]->filename();
    
    ...
            last unless defined($line);
            chomp $line;
            my ($dir, $file) = split(/\t/, $line);
    
  3. or download this
            $process->($dir, $file, $config, $log);
    }
          $pm->finish; # Terminates the child process