I'm not sure if it what you need, but in a similar case I used IPC::ShareLite for defining a shared memory block.
You can have a simple program to create the shared block, load it and then sleep; your main program can access the stored variable(s) as long as at least one process uses the shared block.
Rule One: Do not act incautiously when confronting a little bald wrinkly smiling man.
In reply to Re: Keeping hash table in memory
by psini
in thread Keeping hash table in memory
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |