Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: require sugesstions for writing a perl script

by roboticus (Chancellor)
on Mar 06, 2013 at 11:12 UTC ( #1021994=note: print w/replies, xml ) Need Help??

in reply to require sugesstions for writing a perl script


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.


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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1021994]
[choroba]: Playing in a punk rock band for 20 years... my hearing is quite bad
[Corion]: I still have hopes to turn my godson and his two siblings into a punk band ;)
[Corion]: Their older sister just started piano but has been interested in drumming, which she should be able to start with 8 years or so)
[Discipulus]: ah was Kink of Bongo 1992..
[1nickt]: choroba name of band? youtube link? MySpace link?
[Your Mother]: I like Manu Chao.
[Your Mother]: I like this one quite well, https://www. v=rSEUH4KRfN8

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (11)
As of 2017-03-24 12:24 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (301 votes). Check out past polls.