in reply to Re^4: Push it real good, or don't
in thread Push it real good, or don't

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.

You must always remember that the primary goal is to drain the swamp even when you are hip-deep in alligators.