in reply to Re: Appending values to existing hash key
in thread Appending values to existing hash key
Thank you so much Ken. Your explanation was great and helped a great deal on learning the good and bad pracitices. I am starting to follow how perl takes a natural language construct by saying
print "$_ ", join ', ', @{$data{$_}} for sort keys %data;
to do what I was very verbose with. map function is something I am still struggling with. Hopefully with little more practice, I can wrap the concept around my head. Thanks again, your answer was very enlightening.
|
|---|