NAME
WWW::DaysOfWonder::Memoir44::DB::Params - various runtime params
VERSION
version 3.000
SYNOPSIS
my $params = WWW::DaysOfWonder::Memoir44::DB::Params->instance;
my $value = $params->get( $key );
$params->set( $key, $value );
DESCRIPTION
This module allows to store various runtime parameters.
It implements a singleton responsible for automatic retrieving & saving of the various information. Each module gets its own section, so keys won't be over-written if sharing the same name accross package.
METHODS
get
my $value = $params->get( $key );
Return the value associated to $key
in the wanted section.
set
$params->set( $key, $value );
Store the $value
associated to $key
in the wanted section.
AUTHOR
Jerome Quelin
COPYRIGHT AND LICENSE
This software is copyright (c) 2009 by Jerome Quelin.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.