H:\>perl -e "use CGI; $cgi = CGI->new; print $cgi->redirect( -url => 'http://www.xaz.de/', );" Status: 302 Found Location: http://www.xaz.de/