in reply to Multiple Hash values

The short answer is: yes

use strict; use warnings; my %Hash = ( a => [ qw( i ii iii ) ], b => [ qw( iv v vi ) ], ); # one way to do it for my $var ( sort keys %Hash ) { my $array_ref = $Hash{$var}; for my $element ( @{$array_ref} ) { print "$element,"; } } exit;

The foregoing (untested) code is pretty basic, but I often reach for simple things if I want to make what I'm doing crystal clear to others and even myself months down the road.

You must always remember that the primary goal is to drain the swamp even when you are hip-deep in alligators.