Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: MLDBM for hash > 2GiB?

by gregor-e (Beadle)
on Nov 29, 2005 at 17:27 UTC ( [id://512718]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://512718]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-19 01:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found