POST 参数到 Perl CGI

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;

编程技巧