POST method with perl module

2004-06-04 Thread Tobias Fink
Good morning, im trying to set up a tools module for my modperl environment. My function get_vars should get all passed variables with the following snipplet: if($ENV{'REQUEST_METHOD'} eq "GET"){ $my_data = $ENV{'QUERY_STRING'}; } else { $data_length = $ENV{'CONTENT_LENGTH'}; $bytes_read

Re: HTTP::Request

2003-11-07 Thread Tobias Fink
post? Greetings, Tobias - Original Message - From: "Sara" <[EMAIL PROTECTED]> To: "Tobias Fink" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, November 06, 2003 10:07 AM Subject: Re: HTTP::Request > #!/usr/bin/perl > use CGI; > us

HTTP::Request

2003-11-06 Thread Tobias Fink
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 ? Regards, Tobias