Mail::S...::Record(3)
π Mail::S...::Record β like, the Mail::SPF::v2::Record page, bestie π
okay so this is Mail::S...::Record(3) from the User Contributed Perl Documentation, and it's literally all about the Sender ID record class. pull up a chair, we're doing this β¨
πΈ NAME πΈ
Mail::SPF::v2::Record β the Sender ID ("spf2.0") record class. that's the whole vibe. π
π VERSION π
version 3.20260331
π¦ SYNOPSIS π¦
bestie, it just says:
See Mail::SPF::Record.
so yeah, go read that one, this one's the Sender-ID-flavored sibling. π
π DESCRIPTION π
an object of class Mail::SPF::v2::Record represents a Sender ID ("spf2.0") record. that's it, that's the girl. it's giving "spf2.0 record, but make it an object." π
β¨ Constructors β¨
here are the constructors they hand you:
new(%options): returnsMail::SPF::v2::Recordβ makes you a brand new Sender ID ("spf2.0") record object. slay.
%options is a list of key/value pairs, and it can be any of these:
texttermsglobal_mods
these three? see "new" in Mail::SPF::Record. they're doing their thing over there. π
scopesβ Required. like, you have to give it. see"new"inMail::SPF::Record. the'mfrom'and'pra'scopes are the supported ones. there is no default, so don't come in here hoping for a fallback, because there isn't one. π
new_from_string($text, %options): returnsMail::SPF::v2::Record; throwsMail::SPF::ENothingToParse,Mail::SPF::EInvalidRecordVersion,Mail::SPF::ESyntaxErrorβ makes a new Sender ID ("spf2.0") record object by parsing the string, plus whatever options you passed. if it can't? it throws one of those three exceptions, no cap. π
π Class methods π
the class methods on offer:
version_tag_pattern: returnsRegexpβ returns a regular expression that matches a version tag of'spf2.0/'plus a comma-separated list of any of the'mfrom'and'pra'scopes. these are the valid version tags, periodt:
spf2.0/mfrom
spf2.0/pra
spf2.0/mfrom,pra
spf2.0/pra,mfrom
default_qualifierresults_by_qualifier
these two? see "Class methods" in Mail::SPF::Record. π«
π Instance methods π
and the instance methods, bestie:
textscopestermsglobal_modsglobal_modstringifyeval
all of the above? see "Instance methods" in Mail::SPF::Record. they're living their best life over there. π«Ά
version_tag: returnsstringβ returns'spf2.0/'plus a comma-separated list of the scopes of the record. wanna know what it could possibly hand back? see"version_tag_pattern"for the list of possible return values. iconic. β
π₯ SEE ALSO π₯
Mail::SPFMail::SPF::RecordMail::SPF::TermMail::SPF::MechMail::SPF::Mod<http://tools.ietf.org/html/rfc4408>
and for availability, support, and license info, go look at the README file included with Mail::SPF. π
π AUTHORS π
Julian Mehnle <julian@mehnle.net>, Shevek <cpan@anarres.org>
and that's the whole page, babe π this was generated by perl v5.42.1 on 2026-04-23, and it's the Mail::S...::Record(3) manual page β go forth and parse some Sender ID records, you absolute main character πβ¨π
π¦ where this page comes from
- fedora 44: perl-Mail-SPF 3.20260331-1.fc44 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms