Simple:
my @addresses = ("...","..."); #list of addresses foreach my $addr ( @addresses ) { my $response = $ua->get( $addr ); if ( $response->is_success ) { $google_results = $reponse->content; # maybe parse these results here? parse( $google_results ); } else { print "$response->status_line"; } }
Or something like that. Hopefully it will get you started
-Bryan
In reply to Re: Making script more efficient
by mrborisguy
in thread Making script more efficient
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |