Scroll to navigation

Config::Model::models::Itself::WarpValue(3pm) User Contributed Perl Documentation Config::Model::models::Itself::WarpValue(3pm)

NAME

Config::Model::models::Itself::WarpValue - Configuration class Itself::WarpValue

DESCRIPTION

Configuration classes used by Config::Model

Warp functionality enable a Value object to change its properties (i.e. default value or its type) dynamically according to the value of another Value object locate elsewhere in the configuration tree.

Elements

follow

Specify with the path of the configuration element that drives the warp, i.e .the elements that control the property change. These are specified using a variable name (used in the "rules" formula)and a path to fetch the actual value. Example $country => " ! country" Optional. Type hash of uniline.

rules

Each key of the hash is a test (as formula using the variables defined in "follow" element) that are tried in sequences to apply its associated effects. Optional. Type hash of warped_node.

SEE ALSO

cme
2022-01-30 perl v5.32.1