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

NAME

App::Zapzi::UserConfig - get and set user configurable variables

VERSION

version 0.017

DESCRIPTION

This class allows users to get and set configuration variables. This is layered on top of App::Zapzi::Config which holds user and system variables.

METHODS

get(key)

Returns the value of key or undef if it does not exist.

get_description(key)

Returns the documentation for this config variable.

get_options(key)

Returns a description of the options for this config variable.

get_default(key)

Returns the default for this config variable.

get_validater(key)

Returns the validater sub ref for this config variable.

get_doc(key)

Returns the documentation for config key or undef if it does not exist.

set(key, value)

Set the config parameter key to value.

get_user_configurable_keys

Returns a list of keys in the config store that are configurable by the user.

get_user_init_configurable_keys

Returns a list of keys in the config store that should be configured by the user at init time.

AUTHOR

Rupert Lane <rupert@rupert-lane.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by Rupert Lane.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.