Help for this page

Select Code to Download


  1. or download this
       elsif(defined $pid)    # Quoth the Elders: 
                              # "$pid is zero here if defined"
    ...
                . getppid ."\n";
             return $$;
            }
    
  2. or download this
    use strict;           
    $|++;
    ...
          }   
          $totalcount++;        #increment the fork count
      }