NAME
Contentment - This is the main module of Contentment
DESCRIPTION
General configuration information and some general-purpose methods can be found in this module.
- $conf = Contentment->configuration
-
Reads the configuration files ETC_DIR/Contentment.defaults.conf and ETC_DIR/Contentment.conf.
- my $result = Contentment->run_plugin($plugin, @args)
-
This method loads the given plugin
$plugin
and runs it with the given@args
and returns the result$result
. The$plugin
variable is a complete package and method name. The method name is stripped and the package name is "used". Then, the method is called.
AUTHOR
Andrew Sterling Hanenkamp <hanenkamp@users.sourceforge.net>
COPYRIGHT AND LICENSE
Copyright 2005 Andrew Sterling Hanenkamp. All Rights Reserved.
Contentment is distributed and licensed under the same terms as Perl itself.