in reply to Processing a set of resources with a pool of forked children

Sorry, I was hasty this morning, and forgot to address your question:

# setup 2 way communication (pipe?)

Use IO::Pipe ;-) There are a few good examples on google. I have an easy to understand example at: Using Select and pipes to communicate with threads. It is using threads instead of fork, but the IO::Pipe concepts are clear and should be the same.


I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh
  • Comment on Re: Processing a set of resources with a pool of forked children