by initializing $key with my ..?foreach my $key (keys %hash1) { if (exists $hash2{$key}) { print "$key\n"; } } close IN;
In reply to Re: Compare 2 Hashes w/ Multiple Variables
by PerlSufi
in thread Compare 2 Hashes w/ Multiple Variables
by ahjohnson2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |