Your skill will accomplish
what the force of many cannot
Interprocess using Safe Pipes Opensby Anonymous Monk
|on Aug 02, 2007 at 16:38 UTC||Need Help??|
Anonymous Monk has asked for the
wisdom of the Perl Monks concerning the following question:
Hello Monks !
I am trying to write some code that will handle several child process at once.
I am working in Linux/Solaris environment, using Perl 5.6.1.
After reading all of the IPC documentation I could find, I came to the decision that using Safe Pipes Opens would be the right answer for me, since the parent process suppose to update the childs with information during the execution.
I created a skeleton to try and see how it works, but for some reason I have a problem - only the last child behaves properly and get the input sent by the parent.
Help would be appreciated,
Below is the code itself (I guess a little ugly...).