in reply to Re^2: extracting elements by key from an array of hashes
in thread extracting elements by key from an array of hashes

... and if there is potentially more than one value per bucket, simply make each element an arrayref. Auto-vivification makes this trivially easy to do.
  • Comment on Re^3: extracting elements by key from an array of hashes