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 value can be a plain scalar (the kind you get from a value object) or a hash (the kind you get from a check_list object). both are welcome at this party. πŸ“
  • the stringified_value is 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 πŸ’–

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