in reply to Can forks share data more easily?

No, you must access/lock the data from the other process. This can be done with sockets, pipes, files, databases and more. There are several modules that help, look here: IPC modules.
Boris