in reply to Re: MLDBM for hash > 2GiB?
in thread MLDBM for hash > 2GiB?

I installed BerkeleyDB from CPAN, changed the use to:
use MLDBM qw(BerkeleyDB Storable);
and gave it a kick. It moaned:
TIEHASH is not a valid BerkeleyDB macro at /usr/lib/perl5/site_perl/5. +8.5/MLDBM.pm line 143
Is there a way to persuade MLDBM to use BerkeleyDB? (Okay, I've only scanned the friendly manpage for BerkeleyDB briefly. I'll go back and give it a good squint.)

Replies are listed 'Best First'.
Re^3: MLDBM for hash > 2GiB?
by perrin (Chancellor) on Nov 29, 2005 at 17:31 UTC
    Try this:

    use MLDBM qw(BerkeleyDB::Btree Storable);

    Also, there is a section on MLDBM in the BerkeleyDB docs.

      It's now at 14GiB and counting. That did the trick! Thanks.