Tobias Fink wrote:
Hi,

why doesn't

my $ua = LWP::UserAgent->new; my $res = $ua->request(GET 'http://www.google.de/search', q => 'asdasd');
if ($res->is_success) {
my $server_response = $res->content;
print $server_response;
}


print the html-source of http://www.google.de/search?q=asdasd ?


It has a syntax error. Or is this not your real code? Among other problems.


perldoc LWP::UserAgent

http://danconia.org


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to