http://www.perlmonks.org?node_id=77229


in reply to how to limit child processes?

Not that my code will be so great after reading merlyn's, but here is my general solution to this problem. Unless you read the rest of the thread, you can likely ignore the first two paragraphs :)

PS - AgentM was dead on with his waitpid comment

mikfire