CHILD_ERROR and forking within a child

2005-09-07 Thread steve abrams
* code 'paraphrased' for simplicity * Hi all, I have a script which goes to a subroutine. Within the subroutine, there exists: $pid = fork; push(@pids, $pid); unless ($pid) { my $var = new Object; if (not $var->method_that_evokes_a_child()) {Exit;} exit 2; } where the Ex

RE: CHILD_ERROR and forking within a child

2005-09-07 Thread Bob Showalter
steve abrams wrote: > * code 'paraphrased' for simplicity * > > Hi all, > > I have a script which goes to a subroutine. Within the > subroutine, there exists: > > $pid = fork; > push(@pids, $pid); > unless ($pid) > { >my $var = new Object; >if (not $var->method_that_evokes_a_