MLDBM::Easy - Provides NON-piecemeal access to MLDBM files


MLDBM-Easy documentation  | view source Contained in the MLDBM-Easy distribution.

Index


NAME

Top

MLDBM::Easy - Provides NON-piecemeal access to MLDBM files

SYNOPSIS

Top

  use MLDBM::Easy;  # as a drop-in for MLDBM

DESCRIPTION

Top

This module allows you to work with multi-dimensional databases, just like MLDBM, but it does work behind the scenes to allow you to treat the multi-dimensional database like a normal data structure. Basically, you don't need to use the piecemeal access that MLDBM required:

  # old and busted
  my $record = $db{some_key};
  $record->[2] += 100;
  $db{some_key} = $record;

  # new hotness
  $db{some_key}[2] += 100;

Of course, with this convenience comes a loss of speed. Deal with it.

SEE ALSO

Top

Check MLDBM for all other documentation.

AUTHOR

Top

Jeff japhy Pinyan, <japhy@pobox.com>

COPYRIGHT AND LICENSE

Top


MLDBM-Easy documentation  | view source Contained in the MLDBM-Easy distribution.