my %Gene; for my $index (@gene) { $Gene{$gene[$index]} = $gene[$index+1] if $index%2; } [download]
In reply to Re^2: array to hash key value pairs by jms53 in thread array to hash key value pairs by lomSpace