Leser: 3
2 Einträge, 1 Seite |
1
2
3
4
5
6
7
use LWP::Simple;
....txt einlesen...
for(....) {
$source get($website);
print $source
}
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
use strict; use warnings; use LWP::UserAgent; my $ua = LWP::UserAgent->new; $ua->timeout(10); my $response = $ua->get('http://search.cpan.org/'); if ($response->is_success) { print $response->decoded_content; # or whatever } else { die $response->status_line; }
2 Einträge, 1 Seite |