NAME
BDB::Wrapper Wrapper module for BerkeleyDB.pm
This will make it easy to use BerkeleyDB.pm.
You can protect bdb file from the concurrent access and you can use BerkeleyDB.pm with less difficulty.
create_env
Creates Environment for BerkeleyDB
This will creates database handler for writing.
$self->create_write_dbh($bdb, ['hash'], ['dont_try']);
In the default mode, BDB file will be created as Btree;
If you specify 'hash', Hash BDB will be created.
If you specify 'dont_try', this module won\'t try to unlock BDB if it detects the situation in which deadlock may occur.
This will creates database handler for reading.
$self->create_read_dbh($bdb, ['hash'], ['dont_try']);
In the default mode, BDB file will be created as Btree;
If you specify 'hash', Hash BDB will be created.
This will creates hash for writing.
$self->create_write_hash_ref($bdb, ['hash'], ['dont_try']);
In the default mode, BDB file will be created as Btree;
If you specify 'hash', Hash BDB will be created.
If you specify 'dont_try', this module won\'t try to unlock BDB if it detects the situation in which deadlock may occur.
This will creates database handler for reading.
$self->create_read_hash_ref($bdb, ['hash'], ['dont_try']);
In the default mode, BDB file will be created as Btree;
If you specify 'hash', Hash BDB will be created.
If you specify 'dont_try', this module won\'t try to unlock BDB if it detects the situation in which deadlock may occur.