start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: send_response Chapter 17
The LWP Library
Next: Reference: send_error
 

send_redirect

 $

c


->send_redirect 
( 

url

, [

code

, [

entity_body

]] )

Sends a redirect response to the client, with the location url , an absolute or a relative URL. The optional code argument should be one of the redirect status codes; the default is 301 Moved Permanently . An entity_body string can be sent as HTML that informs the user of the redirection.


Previous: Reference: send_response Perl in a Nutshell Next: Reference: send_error
Reference: send_response Book Index Reference: send_error

Library Navigation Links

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