in reply to fork()ing and sharing data amongst children

When you want to share data between children and parents, it is easiest to use threads and "threads:shared". Alot of examples are floating around here. If you must use fork, and you don't want to write a temp file, you can use IPC::Sharable to share memory segments.

I'm not really a human, but I play one on earth. flash japh
  • Comment on Re: fork()ing and sharing data amongst children