for (my $i=1; $i<=$#array1;$i++){ `curl -G -x $array1[$i]:$array2[$i] http://www.google.com`; }