The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Contentment - Contentment is a Perl-based web content management system

DESCRIPTION

METHODS

$global_init = Contentment->global_configuration

Returns the global initializer configuration. This is stored in init.yml in the same directory as the CGI script, as of this writing.

The $global_init should be a reference to a hash.

Contentment->begin

Perform the initialization tasks for Contentment. Including running all hooks registered for "Contentment::begin".

Contentment->handle_cgi

This passes control to the appropriate request and response objects.

See Contentment::Request and Contentment::Response for more information.

Contentment->handle_fast_cgi

This passes control to the appropriate request and response objects to handle FastCGI connections.

See Contentment::Request and Contentment::Response for more information.

Contentment->handle_lwp

Not yet implemented.

Contentment->handle_mod_perl

Not yet implemented.

Contentment->end

Performs final shutdown of the Contentment system. This calls the "Contentment::end" hooks.

HOOKS

Contentment::install

This is a named hook. The name is used to determine which plugin configuration to pass the install handler. It should match the "name" setting in init.yml for the plugin.

These handlers are passed a single argument, but no special input, and should not output anything. The special argument is the data loaded from init.yml.

Contentment::begin

These handlers are passed no arguments, no special input, and should not output anything.

Contentment::end

These handlers are passed no arguments, no special input, and should not output anything.

AUTHOR

Andrew Sterling Hanenkamp <hanenkamp@cpan.org>

COPYRIGHT AND LICENSE

Copyright 2005 Andrew Sterling Hanenkamp. All Rights Reserved.

Contentment is distributed and licensed under the same terms as Perl itself.