my $string = join " ", keys %hash1; foreach my $item ( keys( %hash2 ) ) { print "$item matches" if ( $string =~ /\b$item\b/i ); }
In reply to Re: Comparing two hashes for duplicate keys with no case sensitivity
by pat_mc
in thread Comparing two hashes for duplicate keys with no case sensitivity
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |