in reply to Locking a SDBM_File

Just use MLDBM::Sync. It handles the locking for you.