MTDBMTDB is a multidimensional transparent hash database. | |
Download |
MTDB Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Mark Ralf Thomson
- Publisher web site:
- http://search.cpan.org/~thomson/MTDB-0.1.0/lib/MTDB.pm
MTDB Tags
MTDB Description
MTDB is a multidimensional transparent hash database. MTDB is a multidimensional transparent hash database.SYNOPSIS # Load the package use MTDB qw($serializer); # Bind the hash to the class $db = tie %hash, 'MTDB', FILE => $file, SAFER => 1; # Save to disk all changed records $db->sync(); # Get all record keys @array = keys %hash; # Check if a record exists exists $hash{$foo}; $bar = $hash{$foo}; exists $bar->{$foobar}; # Get a field $bla = $hash{$key}; $scalar = $bla->{$key2}->; $scalar = $bla->{$key2}->{$key3}; # Assign to a field $bla->{$key2}->{$key3} = $value; #store in mainhash $hash{$key} = $bla; # save to disc $db->sync(); Requirements: · Perl
MTDB Related Software