NAME
Tapper::Config - Tapper - Configuration hub for all Tapper libs
SYNOPSIS
use Tapper::Config;
say Tapper::Config->subconfig->{test_value};
say Tapper::Config->subconfig->{paths}{build_conf_path};
AUTHOR
AMD OSRC Tapper Team, <tapper at amd64.org>
ACKNOWLEDGEMENTS
COPYRIGHT & LICENSE
Copyright 2008-2011 AMD OSRC Tapper Team, all rights reserved.
This program is released under the following license: freebsd
default_merge
Merges default values from /etc/tapper into the config. This allows to overwrite values given from the config provided with the module. It searches for config in the following places. * filename given in $ENV{TAPPER_CONFIG_FILE} * $ENV{HOME}/.tapper.cfg * /etc/tapper.cfg
If $ENV{TAPPER_CONFIG_FILE} exists it will be used no mather if it contains an existing file. If this key does not exists the first file found from the list of remaining alternatives is used.
@param hash ref - config
@return hash ref - merged config