in reply to hash in SDBM_File

SDBM_File stores string values for string keys. To get hash in and then retrieve it, you'll need to serialize the hash. Data::Dumper is one way to serialize/deserialize.