- COPYRIGHT AND LICENSE
Games::Pandemic::Config - pandemic local configuration
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.
my $value = $config->get( $key )
$value associated to
$key in the configuration. Note that if there's no local configuration defined, a default will be provided.
COPYRIGHT AND LICENSE
This software is Copyright (c) 2009 by Jerome Quelin.
This is free software, licensed under:
The GNU General Public License, Version 2, June 1991