in reply to DBI vs MLDBM/GDBM_File, etc.
MLDBM is not necessarily a drop-in replacement, however. The biggest "gotcha" is that you cannot assign a value directly to a non-top-level element. That is, you can't do this to a MLDBM tied hash: $hash{foo}{bar}{baz} = 'stuff';
You must instead do this:
$tmp = $hash{foo}; $tmp->{bar}{baz} = 'stuff'; $hash{foo} = $tmp;
|
|---|