NAME

Puma::Config - finds and loads the Puma config.xml file


SYNOPSIS

 use Puma::Config qw( getConfig );
 my $config = getconfig('/etc/puma/config.xml');


DESCRIPTION

The Puma::Core package provides a unified construction mechanism with full inheritance support for all subclasses.

Subclasses should not define a new() constructor but should instead rely on the construct() mechanism as defined below.


FUNCTIONS

getConfig([FILENAME]);

Returns a hash of values extracted for the config.xml file formatted via the Puma::Util::XML module.

If FILENAME is not defined, it will look in the directory defined while the package was installed (by the install script).

If no file is found, an empty hash is returned.


COPYRIGHT

Copyright (c) 2001, 2002 by Ingmar Ellenberger.

Distributed under The Artistic License. For the text of this license, see http://puma.site42.com/license.psp or read the file LICENSE in the root of the distribution.