Parallel::ForkManager could probably do that with half a dozen lines if you insist on using Perl; but isn't that a perfect use for inetd?
In reply to Re: Keep n instances running
by BrowserUk
in thread Keep n instances running
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |