NAME

Config::Generator::Config - Config::Generator configuration support

DESCRIPTION

This module eases the manipulation of the high-level configuration data.

FUNCTIONS

This module provides the following functions (none of them being exported by default):

hack_config(ACTION, PATH[, VALUE])

modify the configuration under the given PATH; ACTION can be "merge", "set" or "unset"

load_config(PATH...)

load the given configuration files

merge_config(CONFIG)

merge the given configuration

prune_config()

prune the configuration (i.e. remove the keys with undefined value)

stringify_config([OPTIONS])

transform the configuration into a string; supported options:

  • format: name of the format to use instead; possible values:

    • Config::General (default)

    • JSON

AUTHOR

Lionel Cons http://cern.ch/lionel.cons

Copyright (C) CERN 2013-2014