Dave Rolsky > Rudesind-0.04 > Rudesind::Config

Download:
Rudesind-0.04.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

NAME ^

Rudesind::Config - A class to provide access to configuration file values

SYNOPSIS ^

  use Rudesind::Config;

  my $config = Rudesind::Config;

  print $config->uri_root;

DESCRIPTION ^

This class provides an interface for reading the contents of a Rudesind configuration file.

CONSTRUCTOR ^

When its new() method is called, it looks for a configuration file in the following locations:

If no file is found, it will die. If the file it finds does not contain a required parameter, it will also die.

METHODS ^

This class provides a method for each parameter in the configuration file, as well as a number of additional methods.

Required Parameters

Other Parameters

Additional Methods

This class provides the following additional methods:

syntax highlighting: