Help for this page
foreach $item ( @array ) { if( $pid = fork ) { print "Forking off to $pid\n"; ... die "Can't fork: $!"; } }
sub REAPER { my $waitedpid = wait; $SIG{CHLD} = \&REAPER; }
if( $pid = fork ) { print "Forking off to $pid\n";
if( $pid = fork ) { $SIG{CHLD} = \&REAPER; print "Forking off to $pid\n";
www.com | www.net | www.org
No recent polls found