in reply to Mutiple values for a single ke in hashes
You are probably using the wrong data structure and should use a hash of arrays, e.g.
my %visited_by = ( Peter => [ qw(Sydney Melbourne Perth) ], Paul => [ qw(Shrewsbery Cambridge) ], Mary => [ qw(Paris London Rome) ], ); print "Mary has been to @{ $visited_by{Mary} }\n"; Output Mary has been to Paris London Rome
|
|---|