OpenFrame::Constants - Constants for OpenFrame
use OpenFrame::Response; use OpenFrame::Constants; my $response = OpenFrame::Response->new(); $response->message($output); $response->code(ofOK); $response->mimetype('text/html'); $response->cookies($cookie);
OpenFrame::Constants exports some constants which are of general use inside OpenFrame.
OpenFrame::Constants
The following constants are valid as codes of an OpenFrame::Response object:
OpenFrame::Response
The response is okay.
The response is an error.
The response is a redirect.
The response was declined.
James A. Duncan <jduncan@fotango.com>
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.
To install OpenFrame, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OpenFrame
CPAN shell
perl -MCPAN -e shell install OpenFrame
For more information on module installation, please visit the detailed CPAN module installation guide.