my %hash;
while (<>)
{
my($a,$b)=split ",", $_;
$hash{$a)=$b;
}
?
What's the format of your file? Does it include the hash key and value? Does it include things beside the keys and values?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.