View on
MetaCPAN
search.cpan.org is shutting down
For details read Perl NOC. After June 25th this page will redirect to MetaCPAN.org
Dominique Dumont > Config-Model-Itself > Config::Model::models::Itself::WarpValue

Download:
Config-Model-Itself-2.013.tar.gz

Annotate this POD

Website

View/Report Bugs
Source  

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 pathof 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 ^

syntax highlighting: