The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Config::GitLike::Cascaded - git-like config file parsing with cascaded inheritance

SYNOPSIS

Stop! Do not pass go! Go directly to Config::GitLike and read that instead. This is a minor variation on that which changes how the configuration loading works. Everything else is exactly the same. Just swap in Config::GitLike::Cascaded where it reads Config::GitLike.

DESCRIPTION

The only difference between this module and Config::GitLike as that when it's loading the configuration file in the current directory, it keeps walking the directory tree even if it finds a config file, whereas Config::GitLike will stop after finding the first.

This allows us to have interesting cascading configuration inheritance.

METHODS

This module overrides this method from Config::GitLike:

load_dirs

Load the configuration files in the directory tree, starting with the root directory and walking up to the current working directory. (No error is thrown if no config files are found.)

Returns nothing of note.

SEE ALSO

Config::GitLike

LICENSE

You may modify and/or redistribute this software under the same terms as Perl 5.8.8.

COPYRIGHT

Copyright 2009 Best Practical Solutions, LLC

AUTHORS

Alex Vandiver <alexmv@bestpractical.com>, Christine Spang <spang@bestpractical.com>