- or download this
print $fields[0], " ", $row if exists $hash{$fields[0]};
- or download this
my %hash=();
open (my $fh,'<',$file2) or die $!;
...
close $fh;
print "KEYS AND RECORDS ARE:\n";
print Dumper(\%hash);
- or download this
print $hash{$fields[0]}, " ", $row if exists $hash{$fields[0]};