|
Prev: Creating a 'load simulator' by calling Perl Programs - or Forking?
Next: FAQ 8.10 How do I read and write the serial port?
From: Joost Diepenmaat on 3 Apr 2008 16:49 pgodfrin <pgodfrin(a)gmail.com> writes: > I was looking at IPC::Run as well. What do you think of it? Haven't used it all. And to be honest, from skimming the docs I can't really see if it will even do what you want it to do if you have more than one child process running, which I can guarantee you POE will. But as I implied, POE has a bit of a learning curve, and it requires you to (re)structure your code in a event handling way. YMMV, probably :-) -- Joost Diepenmaat | blog: http://joost.zeekat.nl/ | work: http://zeekat.nl/
From: J. Gleixner on 4 Apr 2008 12:19
sheinrich(a)my-deja.com wrote: [...] > a module that I've written couple of months ago was for that very > purpose. > Basically your script will have to instantiate an PreforkAgent, tell > it how many children to beget (degree of parallelization) and provide > it with a couple of callbacks as means of communication. Hu.. sounds pretty much like Parallel::ForkManager. |