while () { my ($key, $val) = split / = /; push @{$data{$key}}, $val; }