in reply to Use of shared memory to persist data between child processes
Keep in mind that if you're having lock()ing problems with files, you'll also have them with shared memory. Shared memory is expensive peroformancewise for the system.
The shared in its name only refers to the fact that it is mapped to more than one process. However, you still need to be /very/ careful when accessing it concurrently.
Having said this, take a look at IPC::ShareLite.
Best regards
-lem, but some call me fokat
|
|---|