I've not tried it, but you could probably use Parallel::ForkManager to control the number of jobs running at once. As the anonymous monk mentioned earlier, you don't want to run all 1000 at once. Instead keep a pool of XX running until you finish them all. Play around with the value of XX until you find the best time/resource tradeoff.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
In reply to Re: require sugesstions for writing a perl script
by roboticus
in thread require sugesstions for writing a perl script
by lazydev
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |