bigbalbossa
Programmer
Guys/Gals
I've created a hash with List Code being key, and value being the count:
Now, i'm bumping this against data in another file and need to print the count if List Code matches:
I'm sure it's something simple i'm missing
I've created a hash with List Code being key, and value being the count:
Code:
open(F1, "file1") || die ...
while(<F1>) {
$hash{$LIST}++;
}
Code:
open(F2, "file2") || die ...
my $LIST2 = substr($file, 525,5);
if(exists($hash{$LIST2}))
{
$list_cnt = ??? (value of hash)
}
I'm sure it's something simple i'm missing