Perl Tutorials - Herong's Tutorial Examples
Dr. Herong Yang, Version 5.00

Using DBM Database Files

This chapter provides tutorial examples and notes on DBM database files. Topics include using dbmopen() to connect a hash variable to a DBM database; example scripts of storing two and multiple columns in DBM database files.

dbmopen() - Opening DBM Files with Hash Variables

DBM Database Example - English French Dictionary

DBM Database Example - Book Records with Multiple Fields

Conclusions:

  • dbmopen(%word,"dictionary") - Opens a DBM database to a hash variable.

Dr. Herong Yang, updated in 2008
Using DBM Database Files