Security Advisories (3)
CVE-2017-0373 (2017-05-10)

The gen_class_pod implementation in lib/Config/Model/Utils/GenClassPod.pm in Config-Model (aka libconfig-model-perl) before 2.102 has a dangerous "use lib" line, which allows remote attackers to have an unspecified impact via a crafted Debian package file.

CPANSA-Config-Model-2017-01 (2017-05-10)

YAML or YAML::XS can be loaded automatically making it possible to run arbitrary code loading a specially crafted YAML file.

CVE-2017-0374 (2017-05-10)

Loads models from a local directory, making it possible to substitute the model.

NAME

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

VERSION

version 2.079

SYNOPSIS

package Config::Model::Stuff;
use Mouse;
with Config::Model::Role::WarpMaster

DESCRIPTION

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

METHODS

register ( $warped_object, warper_name )

Register a new warped object. Called by an element which has a warp parameter. This method is calling on the object pointed by follow value.

unregister ( warper_name )

Remove a warped object from the object controlled by this warp master.

trigger_warp ( value, stringified_value )

Called by the object using this role when the value held by this object is changed (i.e. something like store was called). The passed value can be a plain scalar (from a value object) or a hash (from a check_list object). The stringified_value is a string shown in debug log.

-head2 has_warped_slaves

Return the number of object controlled by this master.

get_warped_slaves

Return a list of object controlled by this master.

AUTHOR

Dominique Dumont

COPYRIGHT AND LICENSE

This software is Copyright (c) 2016 by Dominique Dumont.

This is free software, licensed under:

The GNU Lesser General Public License, Version 2.1, February 1999