You are correct. Here's another tip for you: SDBM_File is much faster than DB_File when dealing with small keys (less than 2k each). Also, if you want to use a dbm file for both reading and writing in a multi-process situation (like CGI), use MLDBM::Sync.