Config::Neat::Inheritable - Config::Neat files with inheritance
File 01.nconf:
foo { bar baz etc { pwd 1 } } abc def
File 02.nconf:
@inherit 01.nconf foo { bar replace } -abc
Resulting data structure will be equivalent to:
foo { bar replace etc { pwd 1 } }
Within @inherit, you can use selectors as slash-delimited paths to the node within a target file, for example:
@inherit
whatever { @inherit 01.nconf#foo/etc bar replace }
whatever { pwd 1 bar replace }
Multiple inheritance is supported; use '.' do denote the the current file:
@inherit 01.nconf#foo 02.nconf#bar .#baz
Copyright (C) 2012-2015 Igor Afanasyev <igor.afanasyev@gmail.com>
https://github.com/iafan/Config-Neat
To install Config::Neat, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Config::Neat
CPAN shell
perl -MCPAN -e shell install Config::Neat
For more information on module installation, please visit the detailed CPAN module installation guide.