my %hash = map {chomp; split ':', $_} <FILE>; [download]
In reply to Re: Putting text file into a hash by Anonymous Monk in thread Putting text file into a hash by remluvr