1Config::Model::Role::WaUrspeMrasCtoenrt(r3i)buted Perl DCoocnufmiegn:t:aMtoidoenl::Role::WarpMaster(3)
2
3
4

NAME

6       Config::Model::Role::WarpMaster - register and trigger a warped element
7

VERSION

9       version 2.140
10

SYNOPSIS

12        package Config::Model::Stuff;
13        use Mouse;
14        with Config::Model::Role::WarpMaster
15

DESCRIPTION

17       This role enable a configuration element to become a warp maser, i.e. a
18       parameter whose value can change the features of the configuration tree
19       (by controlling a warped_node) or the feature of various elements like
20       leaf, hash ...
21

METHODS

23   register
24       Parameters: "( $warped_object, warper_name )"
25
26       Register a new warped object. Called by an element which has a "warp"
27       parameter.  This method is calling on the object pointed by "follow"
28       value.
29
30   unregister
31       Parameters: "( warper_name )"
32
33       Remove a warped object from the object controlled by this warp master.
34
35   trigger_warp
36       Parameters: "( value, stringified_value )"
37
38       Called by the object using this role when the value held by this object
39       is changed (i.e.  something like store was called). The passed value
40       can be a plain scalar (from a value object) or a hash (from a
41       check_list object). The stringified_value is a string shown in debug
42       log.
43
44       -head2 has_warped_slaves
45
46       Return the number of object controlled by this master.
47
48   get_warped_slaves
49       Return a list of object controlled by this master.
50

AUTHOR

52       Dominique Dumont
53
55       This software is Copyright (c) 2005-2020 by Dominique Dumont.
56
57       This is free software, licensed under:
58
59         The GNU Lesser General Public License, Version 2.1, February 1999
60
61
62
63perl v5.32.0                      2020-08-02Config::Model::Role::WarpMaster(3)
Impressum