in reply to How do I loop through a list two or more elements at a time?
my %hash = @list; print "$_ - $hash{$_}\n" for keys %hash;
In Section
Seekers of Perl Wisdom
in reply to How do I loop through a list two or more elements at a time?
my %hash = @list; print "$_ - $hash{$_}\n" for keys %hash;