This section provides a tutorial example of using DBM database files to build an English to French dictionary with insert, update, delete and print functions.
As the first example with DBM files, I wrote several simple programs to create
a simple English French dictionary, to update the dictionary, and to look up word
in the dictionary.
The first program, DbmInsert.pl, creates the dictionary as a DBM file, and inserts a couple
of entries:
The mask code, 0666, is an octal number representing a permission setting
to allow every user for reading and writing (rw_rw_rw_). Running this program
gives no problem: