Mail::...figData(3pm)
π Mail::DMARC::ConfigData β the group chat notes π
okay bestie, so this is the perl manual page for Mail::DMARC::ConfigData, and yes it lives in section 3pm (that's the "perl module" section, iykyk). It's the lil' config locker for Mail::DMARC and it's lowkey iconic. Let's get into it π«Ά
β¨ NAME β¨
Mail::DMARC::ConfigData β it's literally configuration for Mail::DMARC. That's the whole job. π
πΈ SYNOPSIS πΈ
here's the vibe, copy-paste ready:
use Mail::DMARC::ConfigData;
$value = Mail::DMARC::ConfigData->config('foo');
$value = Mail::DMARC::ConfigData->feature('bar');
@names = Mail::DMARC::ConfigData->config_names;
@names = Mail::DMARC::ConfigData->feature_names;
Mail::DMARC::ConfigData->set_config(foo => $new_value);
Mail::DMARC::ConfigData->set_feature(bar => $new_value);
Mail::DMARC::ConfigData->write; # Save changes
read it, get it, slay it. β
π¦ DESCRIPTION π¦
bestie, listen. This module holds the configuration data for the Mail::DMARC module. It also hands you a whole programmatic interface for getting or setting that configuration data β so you're not out here editing files with your bare hands like it's 2009. π
β οΈ not me forgetting the plot twist: to actually make changes, you have to have write access to the Mail::DMARC::ConfigData module. And fr fr, you should attempt to understand the repercussions of your actions before you go changing stuff. Like, know what you're doing. That's the vibe check. π
π METHODS π
π config($name)
Give it a string argument, and it hands back the value of the configuration item with that name. If no such item exists? You get undef. simple as that. π
π feature($name)
Same energy, different closet: pass a string argument and you get the value of the feature with that name. No such feature? undef, bestie. β¨
π set_config($name, $value)
Sets the configuration item with the given name to the given value. now here's the tea about what counts as a value: it may be any Perl scalar that will serialize correctly using Data::Dumper. That includes references, objects (usually), and complex data structures. It probably does not include transient things like filehandles or sockets β so don't try it, that's giving chaos. π
π set_feature($name, $value)
Sets the feature with the given name to the given boolean value. The value gets converted to 0 or 1 automatically β the module does the math so you don't have to. slay. π₯
π config_names()
Returns a list of all the names of config items currently defined in Mail::DMARC::ConfigData. In scalar context? You get the number of items instead. versatile queen. π
π feature_names()
Returns a list of all the names of features currently defined in Mail::DMARC::ConfigData, or β in scalar context β the number of features. same trick, different list. π
π auto_feature_names()
Returns a list of all the names of features whose availability is dynamically determined, or in scalar context, the number of such features. And here's the fine print, don't skip it: this does not include such features that have later been set to a fixed value. π§
π write()
Commits any changes from set_config() and set_feature() to disk. periodt. Requires write access to the Mail::DMARC::ConfigData module β so if it fails, check your permissions before you spiral. π
π AUTHOR π
Mail::DMARC::ConfigData was automatically created using Module::Build. Module::Build was written by Ken Williams β but he holds no authorship claim or copyright claim to the contents of Mail::DMARC::ConfigData. iconic of him honestly. π«Ά
okay and for the lil' footer moment: this page is from perl v5.40.1, dated 2026-07-07, and it's all filed under Mail::...figData(3pm) in the User Contributed Perl Documentation. mwah, go configure something iconic bestie πβ¨ππ¦πΈ
π¦ where this page comes from
- ubuntu stonking: libmail-dmarc-perl 1.20260306-1ubuntu1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms