my $tm = new TM::Materialized::MLDBM (file => '/tmp/map.dbm');
# modify the map here.....
# and flush everything onto the file
# later in this game, get it back from file
my $tm2 = new TM::Materialized::MLDBM (file => '/tmp/map.dbm');
DESCRIPTIONThis package just implements a materialized map with a MLDBM store.
ConstructorThe constructor expects to see the following option(s):
- file (no default)
- The name of the DBM file. It is an error not to specify that.
- url (no default)
- Alternatively, this can be a "file:" URL.