BDB::Wrapper 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.
This module is used on http://www.accessup.org/ and is developed based on the requirement.
Attention: If you use this module for the specified Berkeley DB file,
please use this module for all access to the bdb.
By it, you can control lock to the bdb file.
Lock files are created under /tmp/bdb_home.
If you set ram 1 in new option, lock files are created under /dev/shm/bdb_home.