Léon Brocard > Messaging-Courier > Courier::Config

Download:
Messaging-Courier-0.42.tar.gz

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Source  

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>

syntax highlighting: