| WWW-DaysOfWonder-Memoir44 documentation | view source | Contained in the WWW-DaysOfWonder-Memoir44 distribution. |
WWW::DaysOfWonder::Memoir44::DB::Params - various runtime params
version 2.110310
my $params = WWW::DaysOfWonder::Memoir44::DB::Params->instance;
my $value = $params->get( $key );
$params->set( $key, $value );
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.
my $value = $params->get( $key );
Return the value associated to $key in the wanted section.
$params->set( $key, $value );
Store the $value associated to $key in the wanted section.
Jerome Quelin
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.
| WWW-DaysOfWonder-Memoir44 documentation | view source | Contained in the WWW-DaysOfWonder-Memoir44 distribution. |