home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


send_error

 $

c


->send_error 
( [

code

, [

msg

]] )

Returns an error response to the client. code can contain one of the error response codes; the default is 400 Bad Request . msg is a string describing the error displayed in the HTML entity body.


Previous: Reference: send_redirect Perl in a Nutshell Next: Reference: send_file_response
Reference: send_redirect Book Index Reference: send_file_response

Library Navigation Links

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