Moin... versuch mal diese variante:
use LWP::UserAgent;
$ua = LWP::UserAgent->new;
$req = HTTP::Request->new(GET => 'http://$url');
$req->authorization_basic('$name', '$passwd');
print $ua->request($req);
Moin... versuch mal diese variante:
use LWP::UserAgent;
$ua = LWP::UserAgent->new;
$req = HTTP::Request->new(GET => 'http://$url');
$req->authorization_basic('$name', '$passwd');
print $ua->request($req);