> (As an aside, I'm not sure I'll ever get over undef being proper closing > of a database connection; it seems so synonomous to free([23]). I > expect something like $db->db_close() or something.)
You mean like $db->db_close()? :) http://sleepycat.com/docs/api_c/db_close.html > > my $db_key = tie( %{$Rhash}, 'BerkeleyDB::Btree', > > -Flags=>DB_CREATE, > > -Filename=>$file, > > -Env=>$env ); > > die "Can't open $file: $! ".$BerkeleyDB::Error."\n" if !$db_key; > > return $db_key; I was wondering if using tie() instead of just the OO interface was causing a problem. Maybe rewriting the code to just use new() would help? Of course that means losing the hash interface. grasping at straws, aaron