|< 1 2 >| | 16 Einträge, 2 Seiten |
This is perl, v5.8.8 built for MSWin32-x86-multi-thread
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/perl
require LWP::UserAgent;
my $ua = LWP::UserAgent->new;
$ua->timeout(10);
$ua->env_proxy;
my $response = $ua->get('http://search.cpan.org/');
if ($response->is_success) {
print $response->content; # or whatever
}
else {
die $response->status_line;
}
|< 1 2 >| | 16 Einträge, 2 Seiten |