Games::Pandemic::Config - pandemic local configuration
version 1.120510
use Games::Pandemic::Config; my $config = Games::Pandemic::Config->instance; my $width = $config->get( 'canvas_width' );
This module implements a basic persistant configuration, using key / value pairs.
The module itself is implemented as a singleton, available with the instance()
class method.
Return the $value
associated to $key
in the configuration. Note that if there's no local configuration defined, a default will be provided.
Jerome Quelin
This software is Copyright (c) 2009 by Jerome Quelin.
This is free software, licensed under:
The GNU General Public License, Version 2, June 1991