how to use multiple IP’s in perl script

append the Proxy IP in user agent object.

open(F,"IP.txt");

while(<F>)

{

 my $ip=$_;

 $ua->proxy('http', $ip);

}

close F;

Leave a Comment