Config...ubject(3pm)

πŸ“¦ version 2.166, in ubuntu stonking

πŸ’– Config::Model::Role::WarpSubject πŸ’–

okay bestie, sit down, hydrate, and let's talk about Config::Model::Role::WarpSubject β€” she's a Perl doc babe living in section 3pm of the User Contributed Perl Documentation, and she is so much cooler than her name suggests πŸ¦‹


✨ NAME ✨

Config::Model::Role::WarpSubject β€” common methods for a warped element πŸ’…

✨ VERSION ✨

version 2.166 β€” yes, that's the one, no cap πŸ‘‘

✨ SYNOPSIS ✨

the way you literally just do this:

package Config::Model::SomeStuff;
use Mouse;
with Config::Model::Role::WarpSubject

that's it. that's the whole vibe. πŸŽ€

✨ DESCRIPTION ✨

so this role is giving warp master energy ⭐ β€” it lets a configuration element become a warp master, which basically means it's a parameter whose value can change the features of the configuration tree (by controlling a warped_node) or the features of various elements like leaf, hash …

and here's the tea 🍡 β€” this role is needy. it requires that you provide backup and allowed_warp_params methods. no methods, no warp. periodt.

✨ METHODS ✨

πŸ’« merge_properties

Parameters: ( %arguments_to_merge )

she returns a hash containing a first level merge of the constructor arguments (those come back to you from the backup method, mwah) and the arguments to merge.

⚠️ lowkey important: the merge happens only at the first level β€” hash refs are merged there, but it is not a deep merge. scalars and arrays get clobbered. straight up obliterated. gone. πŸ’€

✨ AUTHOR ✨

Dominique Dumont β€” the icon, the moment, the legend πŸ‘‘

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

and that's the whole page, bestie 🫢 we read it together, we understood it together, we slayed together. this one's running on perl v5.42.3, dated 2026-07-23, and it's been a pleasure fr fr πŸ’œ

πŸ“¦ where this page comes from