in reply to How to build a hash?
my %hash; while(<>) { chomp; my ($key, $value) = split('=', $_); $hash{$key} = $value; } [download]