Module Gdbm

Description

This module provides an interface to the GNU dbm database.

The basic use of GDBM is to store key/data pairs in a data file. Each key must be unique and each key is paired with only one data item.

The library provides primitives for storing key/data pairs, searching and retrieving the data by its key and deleting a key along with its data. It also support sequential iteration over all key/data pairs in a database.

The DB class also overloads enough operators to make it behave a lot like a mapping(string(8bit):string(8bit)), you can index it, assign indices and loop over it using foreach.