AxKit2::Constants - Constants for plugins to use
See AxKit2::Plugin for hook specific information on applicable constants.
Constants available:
DECLINED
Returning this from a hook implies success, but tells axkit to go on to the next plugin.
OK
Returning this from a hook implies success, but tells axkit to skip any more plugins for this phase.
DONE
DONE is generally hook specific, see "AVAILABLE HOOKS" in AxKit2::Plugin for details.
You can, in most hooks, return any of the HTTP response codes below.
OK => 200, NO_CONTENT => 204, PARTIAL_CONTENT => 206, REDIRECT => 302, NOT_MODIFIED => 304, BAD_REQUEST => 400, UNAUTHORIZED => 401, FORBIDDEN => 403, NOT_FOUND => 404, SERVER_ERROR => 500, NOT_IMPLEMENTED => 501, SERVICE_UNAVAILABLE => 503,
The following log level constants are also available:
LOGDEBUG => 7, LOGINFO => 6, LOGNOTICE => 5, LOGWARN => 4, LOGERROR => 3, LOGCRIT => 2, LOGALERT => 1, LOGEMERG => 0,
To install AxKit2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm AxKit2
CPAN shell
perl -MCPAN -e shell install AxKit2
For more information on module installation, please visit the detailed CPAN module installation guide.