Tie a file to a hash

S

SpecialK

Does anyone know how to tie a large file to a hash without using shared
memory?
I know I can use Tie::File to tie the file to an array and from the array
create a hash, but I need something that is much faster than that?

thanks,
gregk
 
B

Ben Morrow

SpecialK said:
Does anyone know how to tie a large file to a hash without using shared
memory?
I know I can use Tie::File to tie the file to an array and from the array
create a hash, but I need something that is much faster than that?

How do you want the file to be tied? In particular, what do you want to
be the keys and what the values of the hash?

Ben
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,158
Latest member
Vinay_Kumar Nevatia
Top