Here's a simpler example that contains some tools that might be useful to
you. (Sorry for the lazy hash declarations.) If you explain the bigger
picture, you might get suggestions for data structures that can be
manipulated more simply.
Katy
my %one = qw(_cat peach _dog apple _mouse apricot
something like:
foreach my $key( keys %hashA ){
if( $hashB{$key}){ print"do the dance of joy, duplicate key found" }
}
should do the trick.
"Aimal Pashtoonmal" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello people,
>
> Can any one please help me. I have 2 hashes, hashA a
Hello people,
Can any one please help me. I have 2 hashes, hashA and hashB, the keys
in both cases, are made up of a mixture of numbers and words etc. But
the keys are differnt so I presume I cannot use if exits or if defined.
Is there anyway of check to see if the words and numbers making up the