DBM.new(filename[, mode[, flags]]) â dbm
Class Public methods
Open a dbm database with the specified name, which can include a directory
path. Any file extensions needed will be supplied automatically by the dbm
library. For example, Berkeley DB appends '.db', and GNU gdbm uses
two physical files with extensions '.dir' and '.pag'.
The mode should be an integer, as for Unix chmod.
Flags should be one of READER, WRITER, WRCREAT
or NEWDB.