in reply to Putting text file into a hash

my %hash = map {chomp; split ':', $_} <FILE>;