Config...pMaster(3pm)
π Config::Model::Role::WarpMaster π
okay so bestie, this is a page from the User Contributed Perl Documentation, section (3pm) β and it's literally called Config...pMaster(3pm) when it's all scrunched up in a terminal header. we love a dramatic abbreviation. π
β¨ NAME β¨
Config::Model::Role::WarpMaster β register and trigger a warped element π
πΈ VERSION πΈ
version 2.166
π¦ SYNOPSIS π¦
package Config::Model::SomeStuff;
use Mouse;
with Config::Model::Role::WarpMaster
that's it, that's the whole vibe. no cap. β¨
π DESCRIPTION π
so this role lets a configuration element become a warp master, which is truly giving main character energy. basically: it's a parameter whose value can change the features of the configuration tree β by controlling a warped_node β or it can change the features of all sorts of various elements, like leaf, hash, and friends. π₯
it's not just one little element doing its thing, it's the element that runs the whole show for other elements. obsessed. π«Ά
π METHODS π
π register
Parameters: ( $warped_object, warper_name )
register a brand new warped object, bestie. this gets called by an element that has a warp parameter. and the way this method works β it's calling on the object pointed to by the follow value. so like, the follow value is the one holding the phone and dialing. πβ¨
π unregister
Parameters: ( warper_name )
yeahhh we're removing a warped object from the object that's controlled by this warp master. it's giving "we don't serve your kind here anymore, respectfully." π (playfully!! just playfully!!)
π₯ trigger_warp
Parameters: ( value, stringified_value )
this one gets called by the object that's using this role whenever the value that this object holds gets changed β i.e. something like store was called. π£
here's the tea on the arguments:
- the passed
valuecan be a plain scalar (the kind you get from a value object) or a hash (the kind you get from acheck_listobject). both are welcome at this party. π - the
stringified_valueis a string that gets shown in the debug log. that's its whole job. β¨
π -head2 has_warped_slaves
okay bestie yes, that's literally how the line is written in the source, -head2 and all. we do not touch the source. we just report. π
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) 2005-2022 by Dominique Dumont.
This is free software, licensed under:
The GNU Lesser General Public License, Version 2.1, February 1999
β reminder of the rules, bestie: this is free software under the GNU Lesser General Public License, Version 2.1, February 1999 β so treat it cute and treaty it right. β¨
and that's the whole page, mwah π β brought to you by perl v5.42.3, dated 2026-07-23, filed under Config...pMaster(3pm). slay, bye π¦π
π¦ where this page comes from
- ubuntu stonking: libconfig-model-perl 2.166-1 Β· LGPL-2.1-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms