Subject: | Default site when used return invalid data. |
When the default site http://www.samair.ru/proxy/fresh-proxy-list.htm
is used then we get "margin-top:5" as selected proxy.
To reproduce just the run your standard code few times:
use HTTP::ProxySelector;
use LWP::UserAgent;
# Instanciate
my $selector = HTTP::ProxySelector->new();
my $ua = LWP::UserAgent->new();
# Assign an anonymous proxy to the UserAgent object.
$selector->set_proxy($ua);
# Just in case you need to know the chosen proxy
print 'Selected proxy: ',$selector->get_proxy(),"\n";