use HTTP::Request::Common; use LWP::UserAgent; $user_agent = LWP::UserAgent->new; $request = POST 'http://www.yourserver.com/cgireader.cgi', [text1 => 'Hello', text2 => 'there']; $response = $user_agent->request($request); print $response->as_string;