Mail::...esponse(3pm)
π Mail::MtPolicyd::Client::Response π
okay bestie, so the man page header literally calls this thing Mail::...esponse(3pm) (the truncation is iconic, honestly, we love a mysterious abbreviation), but the actual module living in this doc is Mail::MtPolicyd::Client::Response. It's from the User Contributed Perl Documentation crew. Come sit, let's read it together π«Ά
β¨ VERSION β¨
version 2.05 β she's got a number, she's got a whole identity.
πΈ DESCRIPTION πΈ
This is the class that handles a policyd response. That's it. That's the job. It takes the response and it handles it. main character energy, no cap π
π SYNOPSIS π
Here's how you actually use her. First flavor: build one straight off a filehandle.
use Mail::MtPolicyd::Client::Response;
my $response = Mail::MtPolicyd::Client::Response->new_from_fh( $conn );
Then there's a cute little -- divider, and flavor two: construct one by hand with your own action and attributes.
my $response = Mail::MtPolicyd::Client::Response->new(
action => 'reject',
attributes => {
action => 'reject',
},
);
print $response->as_string;
Look at her go. She prints herself. Obsessed πβ¨
π₯ METHODS π₯
new_from_fh( $filehandle )β the constructor that reads a response from the supplied filehandle. You hand her a filehandle, she reads the response off it. That's the whole vibe.as_stringβ returns a stringified version of the response. She said "let me put myself into words." Slay.
π ATTRIBUTES π
action(required) β the action specified in the response. Yes bestie, it's required, she will not be showing up without it. Not optional. Not negotiable. Required. πattributesβ holds a hash with all key/values of the response. Everything the response is carrying, in one hash. A little bag of response lore π
π AUTHOR π
Markus Benning <ich@markusbenning.de> β the legend, the architect, the one who made her π
π COPYRIGHT AND LICENSE π
This software is Copyright (c) 2014 by Markus Benning <ich@markusbenning.de>.
This is free software, licensed under:
The GNU General Public License, Version 2, June 1991
GPL v2, June 1991 β free software, and the license text says exactly that, so don't go making up your own rules, bestie π§
and that's the whole page, start to finish π
she's documented by perl v5.38.2, dated 2024-05-26, and filed under Mail::...esponse(3pm). mwah, bye ππβ¨
π¦ where this page comes from
- debian trixie: mtpolicyd 2.05-1.2 Β· GPL-2.0-only
- ubuntu questing: mtpolicyd 2.05-1.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms