Or
my %hash = map { chomp; split ',', $_, 2 } <$fh>; [download]
After Compline,Zaxo
In reply to Re: question:File to hash using map by Zaxo in thread question:File to hash using map by narashima