Config::Divide

Config loader like Catalyst::Plugin::ConfigLoader
Download

Config::Divide Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • hirafoo
  • Publisher web site:
  • http://search.cpan.org/~hirafoo/

Config::Divide Tags


Config::Divide Description

Config::Divide is config loader module like Catalyst::Plugin::ConfigLoader.You can set path(s) that main (and sub) config files. if you set sub config files' path, and there are same items in main config and sub config, then main item will be overwritten by sub config data.SYNOPSIS use Config::Divide; my @config_paths = qw{ /path/to/main/config/files /path/to/sub/config/files }; my %config_any_options = ( # you can set option of Config::Any->load_files # for example... # filter => \&filter, ); my $config; $config = Config::Divide->load_config( { config_paths => \@config_paths, config_any_options => \%config_any_options, } ); # or $config = Config::Divide->load_config( \@config_paths, \%config_any_options, );Product's homepage


Config::Divide Related Software