The best advice I can give you (other than giving you working code) is to do a search for socketpair. You will find lots of examples of how to get data back from a child process.
Update: The latest version of Parallel::ForkManager has a mechanism that is based on files. I would use that only as a last resort. It appears to be horribly slow and adds many more potential failure points.
In reply to Re^5: Push it real good, or don't
by boftx
in thread Push it real good, or don't
by pimperator
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |