Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: ReadParseChapter 10
The CGI.pm Module
Next: Reference: referer
 

redirect

 print $query->redirect('url')

Generates a header for redirecting the browser.

url

The absolute URL to redirect to.

Using named parameters, the syntax is:

print $query->redirect(-uri=>'url',
                       -nph=>1);


Previous: Reference: ReadParsePerl in a NutshellNext: Reference: referer
Reference: ReadParseBook IndexReference: referer

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.