Re: How to persist and query a hash lookup in memory with Perl ?
- From: jackposemsky@xxxxxxxxx
- Date: Wed, 28 Nov 2007 20:23:15 -0800 (PST)
On Nov 28, 6:37 pm, Gunnar Hjalmarsson <nore...@xxxxxxxxx> wrote:
Jack wrote:
Hi I have a web application that needs to on an adhoc basis query a
hash lookup which should be persisted in memory - I have seen this
module "Persistent::Memory - A Persistent Class implemented using
Memory (RAM)" but I wanted to see if there was a much simpler approach
to taking a hash map and making it 'callable' while persisted in
memory using standard features not requiring a special Perl module
install..
Any thoughts would be appreciated.
Why not a tied hash? See e.g. "perldoc DB_File".
--
Gunnar Hjalmarsson
Email:http://www.gunnar.cc/cgi-bin/contact.pl
Hi and thank you however that looks too complex - just trying to put a
hash in memory, why is that so hard to do ? Is there a simpler way ?
.
- Follow-Ups:
- Re: How to persist and query a hash lookup in memory with Perl ?
- From: Jim Gibson
- Re: How to persist and query a hash lookup in memory with Perl ?
- From: xhoster
- Re: How to persist and query a hash lookup in memory with Perl ?
- From: A. Sinan Unur
- Re: How to persist and query a hash lookup in memory with Perl ?
- References:
- How to persist and query a hash lookup in memory with Perl ?
- From: Jack
- Re: How to persist and query a hash lookup in memory with Perl ?
- From: Gunnar Hjalmarsson
- How to persist and query a hash lookup in memory with Perl ?
- Prev by Date: Re: equivalent controls
- Next by Date: writing to a notepad in perl
- Previous by thread: Re: How to persist and query a hash lookup in memory with Perl ?
- Next by thread: Re: How to persist and query a hash lookup in memory with Perl ?
- Index(es):
Relevant Pages
|
|