in reply to Re: Appending values to existing hash key
in thread Appending values to existing hash key

Thank you so much for replying so fast and hitting all my pain points. This is exactly what I was looking for

$value = join ":", split " ", $value; # This is awesome $hash{$key} .= ", " if exists $hash{$key}; # I was thinking more i +n lines of a ternary op but this is short and concise too $hash{$key} .= $value; } print "$_ $hash{$_}\n" for sort keys %hash; # I definitely like this a +pproach

Thank you once again!