---
name: "TM::Materialized::MLDBM"
section: "3pm"
platform: "linux"
package: "libtm-perl"
version: "1.56-7"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/TM::Materialized::MLDBM"
---

# TM::Materialized::MLDBM(3pm)

Topic Maps, DBM Storage (asynchronous)

## NAME

TM::Materialized::MLDBM - Topic Maps, DBM Storage (asynchronous)

## SYNOPSIS

```
    use TM::Materialized::MLDBM;
    my $tm = new TM::Materialized::MLDBM (file => '/tmp/map.dbm');
    # modify the map here.....
    # and flush everything onto the file
    $tm->sync_out;
    # later in this game, get it back from file
    my $tm2 = new TM::Materialized::MLDBM (file => '/tmp/map.dbm');
    $tm2->sync_in;
```

## DESCRIPTION

This package just implements a materialized map with a MLDBM store.

## INTERFACE

### Constructor

The 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.

## SEE ALSO

TM, TM::Synchronizable::MLDBM

## AUTHOR INFORMATION

Copyright 200\[6\], Robert Barta \<drrho@cpan.org\>, All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.  http://www.perl.com/perl/misc/Artistic.html
