laziness, impatience, and hubris | |
PerlMonks |
Re: Re: Re: How do you wait for a process to end ?by claree0 (Hermit) |
on Aug 23, 2001 at 19:36 UTC ( [id://107370]=note: print w/replies, xml ) | Need Help?? |
You can just keep a running count of your current children - increment on each successful fork, and decrement on a successful call to \&reaper.
In Section
Seekers of Perl Wisdom
|
|