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


NAME

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


SYNOPSIS

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


DESCRIPTION

This module allows you to work with multi-dimensional databases, just like the MLDBM manpage, 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 the MLDBM manpage 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

Check the MLDBM manpage for all other documentation.


AUTHOR

Jeff japhy Pinyan, <japhy@pobox.com>


COPYRIGHT AND LICENSE

Copyright (C) 2004 by japhy

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.3 or, at your option, any later version of Perl 5 you may have available.