in reply to Help using curl command Update

First: What's wrong with using backticks in a void context?

Then you should probably do it like this:

for my $i ( 0 .. $#array1 ) { 0 == system 'curl', '-G', '-x', "$array1[$i]:$array2[$i]", 'http:/ +/www.google.com' or die "system 'curl' failed: $?"; }