NAME

POEST::Config::General - Configuration via Config::General

ABSTRACT

A poest configurator based on Config::General, a file based configuration.

DESCRIPTION

The description of the configuration file is explained in Config::General. This configuration class conforms to the specification explained in POEST::Config.

Example Configuration

Hostname localhost
Port 2525

Plugin POEST::Plugin::General
Plugin POEST::Plugin::Check::Hostname

RequireHost Yes
AllowedHost localhost
AllowedHost example.com

If no configuration file is passed, a list of reasonable default directories are checked for poest.conf.

/usr/local/etc
/usr/local/etc/poest
/etc/poest
./
./etc
~/
~/etc
~/.poest

AUTHOR

Casey West, <casey@geeknest.com>

COPYRIGHT

Copyright (c) 2003 Casey West. All rights reserved. This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

perl, POEST::Server, POEST::Config, Config::General.