in reply to hash with identical keys

A hash of arrays is the right approach:
push @{$hash{$name}}, $item;