# in CGI script use Client2; my $client2 = new Client2($params); my $output = $client2->process($data); print $output;