Hello,

I have a question about using DBD::DBM in MLDBM mode: does anyone know
whether it works with hashrefs as values, or just arrayrefs?

Reading the docs and trying the module leads me to believe it only
works with data like:

$Tied_hash{ $id } = [ $val1, $val2 ];

But all the data in my DB file looks like:

$Tied_hash{ $id } = { key1 => $val1, key2 => $val2 };

... and I'd like to use DBD::DBM to access it (i.e. "SELECT key1, key2
from foo WHERE id=?") but as far as I can tell this is not possible.

Am I right?

Thanks for any help

RT

Reply via email to