Config::Any::Merge - Overrinding of configuration variables based on file order
Version 0.03
Config::Any returns your configuration as a hash of hashes keyed by the name of the configuration file. This module merges these hashes into a single hash. If the override paramter is set to 0 in the paramters for load_files or load_stems, configurations files later in the list can't override variables that are already set. The default is to override previous set variables. In all other regards Config::Any::Merge is a strict subclass of Config::Any and inherits all of its functions.
override
0
load_files
load_stems
use Config::Any::Merge; my $cfg = Config::Any->load_files({files => \@filepaths, override => 0, ... });
Config::Any >= 0.15, Hash::Merge
Config::Any
Hash::Merge
Mario Domgoergen, <dom at math.uni-bonn.de>
<dom at math.uni-bonn.de>
Copyright 2008 Mario Domgoergen, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Config::Any::Merge, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Config::Any::Merge
CPAN shell
perl -MCPAN -e shell install Config::Any::Merge
For more information on module installation, please visit the detailed CPAN module installation guide.