Help for this page

Select Code to Download


  1. or download this
    my @child_info;
    foreach my $params (@params_for_children)
    ...
             die;
        }
    }
    
  2. or download this
    sub DESTROY {
        my $self = shift;
    ...
            kill 'TERM' => $self->{pid};
        }
    }
    
  3. or download this
    sub spawn {
        my $self = shift;
    ...
        $self->{parent_pid} = $$;
        my $pid = fork;
    # ...