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

use Rudesind::Config; my $config = Rudesind::Config; print $config->uri_root;

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

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.

This class provides a method for each parameter in the configuration file, as well as a number of additional methods.
Defaults to /Rudesind.
Defaults to an empty string.
Defaults to /images.
Defaults to "default".
Defaults to File::Spec->tmpdir.
Defaults to "UTF-8".
Defaults to undef.
Defaults to 3.
Defaults to 200.
Defaults to 200.
Defaults to 400.
Defaults to 500.
Defaults to "fatal".
This class provides the following additional methods:
Returns the filesystem path to the configuration file the object represents.
Returns either a string or an array reference which can be passed to the HTML::Mason::Interp constructor. The component root is based on the value of the "view" parameter.
Returns the filesystem path to the first component root (in case there is more than one). If there is only one, this is the same as calling comp_root().
Returns the filesystem path to the raw image directory.
Returns the filesystem path to the image cache directory.