tie %hash, 'BerkeleyDB::Hash', -Filename => 'foo.db', -Flags => DB_CREATE | DB_INIT_CDB | DB_MPOOL;