On Fri, 6 Aug 1999 robinmcf@altern.org wrote: > I'm using a hash to remove entries in another hash like this: > > foreach $key(keys(%first_hash){ > if exists ($second_hash{$key}){ > delete $second_hash{$key}; > } > } > > the problem is that even if I delete the $key I still get it and it's value > showing up later, prompting my question: And once I fix the coding glitches, this code removes any entry in 'second_hash' which has a key also found in 'first_hash'. What do you mean by "showing up later"? Arved ===== Want to unsubscribe from this list? ===== Send mail with body "unsubscribe" to macperl-request@macperl.org