NAME
Morpheus - the ultimate configuration engine
VERSION
version 0.32
SYNOPSIS
use Morpheus "/foo/bar" => [
qw($V1 @V2 %V3 *V4),
"v5" => "$V5", "v6/a" => "$A", "v6/b" => "%B",
"v7" => [ "$C", "$D", "e" => "@E" ],
];
use Morpheus -defaults => {
"/foo/bar" => { x => 1, y => 2},
};
use Morpheus -overrides => {
"/foo/bar" => { "x/y" => 3 },
};
use Morpheus -export => [
qw(morph merge normalize export)
];
use Morpheus;
morph("/foo/bar");
morph("/foo/bar/x", "$");
morph("/foo/bar/y", "@");
morph("/foo/bar/z", "%");
DESCRIPTION
Morpheus is a configuration engine that supports custom plugins. It allows any program that uses it to be configured and reconfigured at different layers like local configuration files, configuration database, environment, etc. The overall program configuration is merged altogether from all these sources.
AUTHOR
Andrei Mishchenko <druxa@yandex-team.ru>
COPYRIGHT AND LICENSE
This software is copyright (c) 2010 by Yandex LLC.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.