
BBS::Perm::Config - wrap a BBS::Perm configuration file

This document describes BBS::Perm::Config version 0.0.3

use BBS::Perm::Config;
my $conf = BBS::Perm::Config->new( file => 'config.yml' );
my $setting = $conf->setting('newsmth');
my $file = $conf->file;
my @sites = $conf->sites;

BBS::Perm::Config is a simple wrapper of the configuration file for BBS::Perm.
BBS::Perm's configuraton file is a normal YAML file. See t/config.yml for the cunstruct.

create a new BBS::Perm::Config module.
load $file, which is a YAML file.
return corresponding settings for $site;
return a list of our site names.
return config file name


None reported.

No bugs have been reported.

sunnavy <sunnavy@gmail.com>

Copyright (c) 2007, sunnavy <sunnavy@gmail.com>. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.