for my $domain (keys %domain_data) { $ua->get('http://localhost/'); my $d = $domain; $d = "http://$d" if $d !~ m(^https?://);