jonp has asked for the wisdom of the Perl Monks concerning the following question:
use LWP::UserAgent; my $ua = LWP::UserAgent->new(agent=>'Mozilla/4.0 (compatible; MSIE 5.2 +3; Mac_PowerPC)'); my $response = $ua->get('http://www.google.com'); my $page = $response->content; print HTML $page;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: LWP error 500
by sh1tn (Priest) on Aug 31, 2005 at 23:23 UTC | |
by gargle (Chaplain) on Sep 01, 2005 at 05:33 UTC | |
by inman (Curate) on Sep 01, 2005 at 08:54 UTC |