The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Games::Pandemic::Config - pandemic local configuration

VERSION

version 1.120510

SYNOPSIS

    use Games::Pandemic::Config;
    my $config = Games::Pandemic::Config->instance;
    my $width  = $config->get( 'canvas_width' );

DESCRIPTION

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.

METHODS

my $value = $config->get( $key )

Return the $value associated to $key in the configuration. Note that if there's no local configuration defined, a default will be provided.

AUTHOR

Jerome Quelin

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