On Fri, Nov 26, 2010 at 11:20 AM, Todd Rinaldo <to...@cpanel.net> wrote: > I very much wish, however, that forks could get a return variable from the > fork process like threads can. This has always frustrated me. > To be honest, though, the fact that Linux forks are copy on write, takes > much of the value out of threads as far as I'm concerned.
See Parallel::Iterator for an example of how to do this. It pipes data to the child process and reads back a result. -- David