NAME

WWW::MLite::Config - Configuration of WWW::MLite

VERSION

Version 1.01

SYNOPSIS

use WWW::MLite::Config;

my $config = new WWW::MLite::Config(
    file => '/var/www/MySite/config/mysite.conf',
    dirs => [qw/foo bar baz/]
);

my $foo = $config->get('foo');

DESCRIPTION

The module works with the configuration data.

METHODS

new
my $config = new WWW::MLite::Config(
    file => '/var/www/MySite/config/mysite.conf',
    dirs => [qw/foo bar baz/]
);

Returns configuration object

get, conf, get_conf, config, get_config
my $value = $config->get( 'key' );
set, set_conf, set_config
$config->set( 'key', $value );

HISTORY

See CHANGES file

AUTHOR

Serz Minus (Lepenkov Sergey) http://www.serzik.com <minus@mail333.com>

COPYRIGHT

Copyright (C) 1998-2014 D&D Corporation. All Rights Reserved

LICENSE

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

See LICENSE file