H:\>perl -e "use CGI; $cgi=CGI->new; print $cgi->redirect( -url => 'http://www.perl.org/', -status => 302, -nph => 1 )" HTTP/1.0 302 Server: cmdline Status: 302 Date: Thu, 01 Nov 2007 11:32:07 GMT Location: http://www.perl.org/