DOKK / manpages / debian 12 / libconfig-model-itself-perl / Config::Model::models::Itself::WarpValue.3pm.en
Config::Model::models::Itself::WarpValue(3pm) User Contributed Perl Documentation Config::Model::models::Itself::WarpValue(3pm)

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

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.

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.

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.

cme
2022-01-30 perl v5.32.1