You may be interested in this thread which uses ftok from the module IPC::SysV.
As your code stands it can not possibly work - function calls don't interpolate. open( F, "./ftok $file_shmem 1 |" ); will attempt to open a file called "./ftok /tmp/IPC/shared_memory1 1 |", which is probably not what you expect.
In reply to Re: use ftok to access shared memory
by GrandFather
in thread use ftok to access shared memory
by earlati2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |