NAME
OpenFrame::Constants - Constants for OpenFrame
SYNOPSIS
use OpenFrame::Response;
use OpenFrame::Constants;
my $response = OpenFrame::Response->new();
$response->message($output);
$response->code(ofOK);
$response->mimetype('text/html');
$response->cookies($cookie);
DESCRIPTION
OpenFrame::Constants
exports some constants which are of general use inside OpenFrame.
CONSTANTS
OpenFrame::Response constants
The following constants are valid as codes of an OpenFrame::Response
object:
- ofOK
-
The response is okay.
- ofERROR
-
The response is an error.
- ofREDIRECT
-
The response is a redirect.
- ofDECLINED
-
The response was declined.
AUTHOR
James A. Duncan <jduncan@fotango.com>
COPYRIGHT
Copyright (C) 2001-2, Fotango Ltd.
This module is free software; you can redistribute it or modify it under the same terms as Perl itself.