in reply to Adding records to a hash db

You appear to be trying to put a reference into the value of a hash. Can't do that. Look at MLDBM for a kludgey way of nearly doing it.

-- Randal L. Schwartz, Perl hacker