my $index = $hash->{$string}; ... my $value1 = $array1->[$index]; my $value2 = $array2->[$index]; ... my $valueN = $arrayN->[$index];