in reply to require sugesstions for writing a perl script

lazydev:

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.

  • Comment on Re: require sugesstions for writing a perl script

Replies are listed 'Best First'.
Re^2: require sugesstions for writing a perl script
by topher (Scribe) on Mar 06, 2013 at 15:36 UTC

    Good suggestion. I've used Parallel::ForkManager, and it should indeed work very well for this case.

    Christopher Cashell