use CGI; (store parameters etc); print $cgi->redirect('the.other.host/url-with-parameters');