in reply to Parallel::ForkManager question

It's exactly this process of passing data between the processes that threads solves. See my reply to your original query atRe: Thread Advice. If you strip the comments, it is barely any more complicated than you code here, and it provides for reliable bi-directional communication by using Thread::Queue.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller