## Request a web page use LWP::UserAgent; my $ua = LWP::UserAgent->new; $ua->timeout($timeout); my $response = $ua->get($connection); if ($response->is_success) { $output = $response->content; } else { $output = $response->status_line; $exit_code = $response->code; }
In reply to Re: website availability ping
by Roy Johnson
in thread website availability ping
by Lhamo Latso
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |