in reply to How to find the repeated text in hash
My reading of your post says you are looking for a one-to-many mapping in a hash. This is usually done with an array ref: perlreftut, perllol. Perhaps stored with:
push @{$hash{$key}}, $value;
#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.
|
|---|