laziness, impatience, and hubris | |
PerlMonks |
Re^3: ssh output is partial when using fork managerby salva (Canon) |
on Jan 26, 2018 at 09:05 UTC ( [id://1207933]=note: print w/replies, xml ) | Need Help?? |
But that is precisely what Parallel::ForkManager is for!
You tell it how many processes to run concurrently when you create the object and then it takes care of never running more than so many processes, delaying the start calls as necessary.
In Section
Seekers of Perl Wisdom
|
|