in reply to Tie, DBM's, HoH and Sparse Keys

Didn't you mean to write:
checkdbm \%terms,$db; for my $t (keys %{$terms->{$db}}) { $terms{$db}{$t}++; }
?

Jeroen
"We are not alone"(FZ)