in reply to communication between forked processes

It is possible to share data structures if you use threads instead of forking, but when you fork you end up with two completely separate processes. To get forked processes to share data you can use shared memory, sockets, pipes, and a few other obscure methods. A good starting point is the perlipc documentation.

  • Comment on Re: communication between forked processes