[Israel.pm] a hash question

Shlomi Fish shlomif at iglu.org.il
Mon Feb 2 10:07:02 PST 2004


On Monday 02 February 2004 19:57, Eitan Schuler wrote:
> Hello All,
> I am wondering if someone can help me;
> I build a hash, which may cause to memory problems because of it's size.
> I am searching for a module which can deal with very big hashes by using
> the hard-disk.
>
> If anyone has used such module, please advise.
>

Try the DB_File/GDBM_File/NDBM_File/SDBM_File/etc. family of modules. This 
will work well unless you wish to store scalar values other than strings as 
the hash values. In this case, you'll need more sophisticated solutions, 
which are out of the scope of this E-mail.

Regards,

	Shlomi Fish



> Sincerely
> Eitan Schuler
>
> _______________________________________________
> Perl mailing list
> Perl at perl.org.il
> http://www.perl.org.il/mailman/listinfo/perl
>
> YAPC::Israel::2004
> http://www.perl.org.il/YAPC/2004/

-- 

---------------------------------------------------------------------
Shlomi Fish      shlomif at iglu.org.il
Homepage:        http://t2.technion.ac.il/~shlomif/

I don't believe in fairies. Oops! A fairy died.
I don't believe in fairies. Oops! Another fairy died.




More information about the Perl mailing list