HTML::WebDAO::Response - Response class
use HTML::WebDAO;
Class for set response headers
Set out header:
$response->set_header('Location', $redirect_url); $response->set_header( -type => 'text/html; charset=utf-8' );
return $self reference
return value for header NAME:
Determine mime type for filename (Simple by ext); return str
print header.return $self reference
Set headers for redirect to url.return $self reference
Set cookie. For params see manpage for CGI::cookie. return $self reference
Set callbacks for call after flush
Prepare headers and save
$respose->send_file($filename, -type=>'image/jpeg');
Flush current state of response.
Set HTTP 404 headers
Zahatski Aliaksandr, <zag@cpan.org>
To install HTML::WebDAO, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::WebDAO
CPAN shell
perl -MCPAN -e shell install HTML::WebDAO
For more information on module installation, please visit the detailed CPAN module installation guide.