in reply to Forking Question
If you decide not to do this, I am uncertain if you really need two way pipes. It seems the communication needs to flow only from child to parent. You can do this with
which will fork a child process off and connect the child's STDOUT to the named file handles.open KID, "-|";
|
---|