P is for Practical | |
PerlMonks |
Re^2: Managing the fork/execing and reaping of child processesby mr_mischief (Monsignor) |
on Jul 16, 2015 at 19:19 UTC ( [id://1135068]=note: print w/replies, xml ) | Need Help?? |
If the fork fails, you're still incrementing both $active_readers and $total. Those should probably be tracked in the parent.
In Section
Seekers of Perl Wisdom
|
|