MLDBM::Easy - Provides NON-piecemeal access to MLDBM files
use MLDBM::Easy; # as a drop-in for MLDBM
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.
Check MLDBM for all other documentation.
Jeff japhy Pinyan, <japhy@pobox.com>
japhy
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.
To install MLDBM::Easy, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MLDBM::Easy
CPAN shell
perl -MCPAN -e shell install MLDBM::Easy
For more information on module installation, please visit the detailed CPAN module installation guide.