in reply to Storable and MLDb
If you are looking at saving data to disk in a hash structure, my recommendation is to use DBM::Deep.
It's pure Perl, fast and very stable.
use strict; use warnings; use DBM::Deep; my $dbm = DBM::Deep->new('mj-test-schedules'); $dbm->{'some_key_name'} = 'some value'; for (keys %$dbm) ) { print "$_ => $dbm->{$_}\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Storable and MLDb
by saintex (Scribe) on Nov 19, 2010 at 14:07 UTC |