for my $i(0..$#list1){ $list1[$i] += $list2[$i]; }