Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I have a very large hash table I don't want to reload everytime I set start up my program. I've got my program on a UNIX server, and I wanted to know if I could harness the power of using the environment variables to keep my hash table there.
Or better yet, just keep it in memory while another perl script accesses it. Point being I won't have to reload the table every time I have a new batch of items to query.
So I need to know, is that possible? If it is, any suggestions on how to do that would be great. Espeically useful would be info on how perl scripts may go about accessing those environment variables.
Thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Keeping hash table in memory
by moritz (Cardinal) on May 15, 2008 at 14:44 UTC | |
|
Re: Keeping hash table in memory
by dwm042 (Priest) on May 15, 2008 at 17:47 UTC | |
|
Re: Keeping hash table in memory
by mscharrer (Hermit) on May 15, 2008 at 15:55 UTC | |
|
Re: Keeping hash table in memory
by perrin (Chancellor) on May 15, 2008 at 16:31 UTC | |
|
Re: Keeping hash table in memory
by apl (Monsignor) on May 15, 2008 at 15:01 UTC | |
|
Re: Keeping hash table in memory
by psini (Deacon) on May 15, 2008 at 15:51 UTC | |
by perrin (Chancellor) on May 15, 2008 at 16:32 UTC | |
|
Re: Keeping hash table in memory
by graff (Chancellor) on May 16, 2008 at 06:27 UTC |