in reply to Can't seem to read DBM
You don't have any trailing spaces on your keys, do you? You might try modifying your dump to something like:
while(my ($key, $value) = each(%names)) { print ".$key.\t".$names{$key}."\n"; } [download]
...roboticus