Help for this page

Select Code to Download


  1. or download this
    sub new
    {
    ...
        $log->debug("Creating instance $class");
        return $self;
    }
    
  2. or download this
    sub spawn {
    
    ...
    
        return $pty;
    } # end sub spawn
    
  3. or download this
    my $pm = new Parallel::ForkManager(5);
    for (1...10) {
    ...
        $pm->finish; # Terminates the child process
    }
    $pm->wait_all_children;