T
timnels
I have the need to store a hash (actually multiple hashes) that have
thousands of records in a "keyed" file. The goal is to simply slurp up
a huge text file and create a keyed hash from a field in each line in
the file. Later on the application needs to fetch a _record_
(hopefully fast) from the hash using a key (without loading the whole
hash into memory). I've looked at some of the modules and they don't
seem to fit quite right. I'd rather not use DBM or a database to store
the data since the it's just a simple hash. Any ideas? Thanks.
thousands of records in a "keyed" file. The goal is to simply slurp up
a huge text file and create a keyed hash from a field in each line in
the file. Later on the application needs to fetch a _record_
(hopefully fast) from the hash using a key (without loading the whole
hash into memory). I've looked at some of the modules and they don't
seem to fit quite right. I'd rather not use DBM or a database to store
the data since the it's just a simple hash. Any ideas? Thanks.