in reply to Re: Sequential processing with fork.
in thread Sequential processing with fork.

Thank you for the example, but yes, my system can only handle around ten running at a time.
~~~~~~~~~ I'm unique, just like everybody else! ~~~~~~~~~

Replies are listed 'Best First'.
Re^3: Sequential processing with fork.
by stevieb (Canon) on Aug 04, 2015 at 20:05 UTC

    Then my code does exactly what you need. You can modify or even remove the $fork->run_on_* subs if you don't need the PIDs or don't care if any of the procs failed.