$hash{$1} = (defined $hash{$1} ? $hash{$1} . ',' . $2 : $2)