NAME
Config::Merged - Load and merge configuration from different file formats, transparently.
SYNOPSIS
use Config::Merged;
my $cfg = Config::Merged->load_files({ files => \@files, ... });
# or
my $cfg = Config::Merged->load_stems({ stems => \@stems, ... });
DESCRIPTION
Config::Merged is a subclass of Config::Any that returns a single, merged configuration structure. This is simply a re-implementation of Catalyst's merge_hashes()
wrapped around Config::Any.
METHODS
- load_files( \%args )
-
Similar to Config::Any's
load_files()
method except that a single, merged hash is returned. - load_stems( \%args )
-
Similar to Config::Any's
load_stems()
method except that a single, merged hash is returned.
BUGS
None are known at this time, but if you find one please report it to the author.
AUTHOR
jason hord <pravus@cpan.org>
SEE ALSO
COPYRIGHT
Copyright (c) 2008, jason hord
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.