print $query->redirect('url')
Generates a header for redirecting the browser.
The absolute URL to redirect to.
Using named parameters, the syntax is:
print $query->redirect(-uri=>'url', -nph=>1);