in reply to Use of shared memory to persist data between child processes
I've looked around and I honestly see no real examples of using IPC shared memory under perl.Where did you look? "man perlipc" has an example of 'give' and 'take' programs, who exchange data using shared memory, just like you want to do between the child and the parent. If you want to exchange hashes, you do need to serialize and deserialize it, but there are several techniques for that (YAML, Data::Dumper, Storable, FreezeThaw).
Abigail
|
|---|