in reply to Re^3: a large text file into hash
in thread Reaped: a large text file into hash

well, since I make the hash once and I want to use it several times later, then I'd prefer to keep it in the hard disk for the later access. what is your suggestion in this scenario?

Replies are listed 'Best First'.
Re^5: a large text file into hash
by BrowserUk (Patriarch) on Jan 28, 2011 at 14:48 UTC

    As I said, BerkeleyDB is the most recommended solution for disk-based hashes.

    Alternatives include MLDBM, SQLite_file, DBM::Deep etc.

    Or you could use an RDBMS (Postgres/MySQL/other). Perhaps via Tie::DBI.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.