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