Lines Matching refs:child
95 print "iteration $i child\n";
107 iteration 1 child
110 iteration 2 child
113 iteration 2 child
116 iteration 3 child
119 iteration 3 child
122 iteration 3 child
125 iteration 3 child
130 : (print("child\n"),exit) ;
134 child
139 : (print("child\n"),sleep(1)) ;
143 child
153 print "child $_\n";
161 child 1
163 child 2
165 child 2
167 child 3
169 child 3
171 child 3
173 child 3
189 print "child $c\n";
196 child 1
197 child 2
198 child 3
245 print cwd() =~ /\Q$dir/i ? "ok 1 child" : "not ok 1 child";
252 ok 1 child
271 print "child before: " . `$getenv`;
273 print "child after: " . `$getenv`;
277 child before: foo
278 child after: baz
317 die "child died";
322 child died at - line 5.
329 eval { die "child died" };
335 child died at - line 6.
342 eval q{ die "child died" };
348 child died at (eval 2) line 1.
355 # XXX In emulated fork(), the child will not execute anything after
357 # and restarting yyparse() midstream in the child. This can potentially
366 my $child = shift;
367 pipe($child, $parent) or die;
370 close($pid ? $child : $parent);
380 # child
388 my $child = shift;
389 pipe($parent, $child) or die;
392 close($pid ? $child : $parent);
402 # child
418 print "first child\n";
426 print "second child\n";
432 first child
435 second child
471 print "child: called as [$c[3](", join(',',@DB::args), ")]\n";
478 child: called as [main::f(foo,bar)]