Re: How to persist and query a hash lookup in memory with Perl ?
- From: "A. Sinan Unur" <1usa@xxxxxxxxxxxxxxxxxxx>
- Date: Thu, 29 Nov 2007 05:26:36 GMT
jackposemsky@xxxxxxxxx wrote in
news:7c5df670-d214-40c2-b59d-9ba1f5785618@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:
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
Don't quote sigs.
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 ?
It looks like programming might be too hard for you.
Sinan
--
A. Sinan Unur <1usa@xxxxxxxxxxxxxxxxxxx>
(remove .invalid and reverse each component for email address)
clpmisc guidelines: <URL:http://www.augustmail.com/~tadmc/clpmisc.shtml>
.
- 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
- Re: How to persist and query a hash lookup in memory with Perl ?
- From: jackposemsky
- How to persist and query a hash lookup in memory with Perl ?
- Prev by Date: Re: making the keys of a hash from parameters collected from a form
- Next by Date: Re: 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
|
|