libhash-multivalue-perl

module for storing multiple values per key in a hash

Hash::MultiValue is a Perl module that provides an object (and a plain hash
reference) that may contain multiple values per key. The hash behaves like a
single-value hash reference, but also provides an API to retrieve multiple
values explicitly on demand.