Léon Brocard

NAME

Courier::Config - configuration module for Courier

SYNOPSIS

  use Messaging::Courier::Config;

  my $c = Courier->new()

DESCRIPTION

Courier::Config is an EO::Singleton class that provides a simple disk based configuration system for Courier. Its interface from the user perspective is excessively simple.

CONFIGURATION

Courier::Config looks for a .courier directory in the users home directory. It it finds one then it looks for the three possible configuration files:

  group
  port
  host

These files should simply contain the name of the group you want courier to join on startup, the port of the spread daemon, or the host of the spread daemon.

If they are not present then Courier drops to acceptable defaults.

AUTHOR

James A. Duncan <jduncan@fotango.com>