NAME

Bot::Cobalt::Conf - Bot::Cobalt configuration manager

SYNOPSIS

my $cfg = Bot::Cobalt::Conf->new(
  etc => $path_to_etc_dir,
);

## Or with specific paths
## (Still need an etcdir)
my $cfg = Bot::Cobalt::Conf->new(
  etc => $path_to_etc_dir,

  # Default paths are probably fine (based on etc, above):
  path_to_core_cf     => $core_cf_path,
  path_to_channels_cf => $chan_cf_path,
  path_to_plugins_cf  => $plugins_cf_path,
);

## Bot::Cobalt::Conf::File::Core
$cfg->core;

## Bot::Cobalt::Conf::File::Channels
$cfg->channels;

## Bot::Cobalt::Conf::File::Plugins
$cfg->plugins;

DESCRIPTION

A configuration manager class for Bot::Cobalt -- Bot::Cobalt::Core loads and accesses configuration objects via instances of this class.

SEE ALSO

Bot::Cobalt::Conf::File::Core

Bot::Cobalt::Conf::File::Channels

Bot::Cobalt::Conf::File::Plugins

Bot::Cobalt::Conf::File::PerPlugin

Bot::Cobalt::Conf::File

AUTHOR

Jon Portnoy <avenj@cobaltirc.org>