my @temp = @arr1; push @temp,@arr2; print $_ for @temp;