rl script.
Simply as a perl script
>
> Most probably the error is with the perl module
> installation.
> Please change the url that you are trying to access
> and check.
Itried again and got the same result.
>
> Regards
> Nishanth
>
> --- Sanchita Dahal <[EM
Hi,
I am trying to run this
++
require LWP::UserAgent;
my $ua = LWP::UserAgent->new;
my $response = $ua->get('http://search.cpan.org/');
if ($response->is_success) {
print $response->content; # or whatever
}
else {
die $response->status_line;
}
*