Mail::S...ch::IP4(3)

πŸ’– Mail::S...ch::IP4(3) β€” bestie edition πŸ’–

okay so this page is from User Contributed Perl Documentation, and the full title in the header is Mail::S...ch::IP4(3) β€” that's the manual name, and yes it's the same one twice, slay πŸ’…


✨ NAME ✨

Mail::SPF::Mech::IP4 β€” the SPF record "ip4" mechanism class. that's the whole name, iconic, no notes πŸŽ€


🌸 VERSION 🌸

version 3.20260331


πŸ¦‹ DESCRIPTION πŸ¦‹

so like, an object of class Mail::SPF::Mech::IP4 represents an SPF record mechanism of type "ip4". that's it. that's the vibe. πŸ’œ


πŸ’« Constructors πŸ’«

the following constructors are provided, bestie:

  • new(%options): returns Mail::SPF::Mech::IP4 β€” makes a brand new SPF record "ip4" mechanism object ✨

%options is a list of key/value pairs representing any of the following options:

  • qualifier
  • ip_network

see "new" in Mail::SPF::Mech for the deets πŸ‘‘

  • new_from_string($text, %options): returns Mail::SPF::Mech::IP4; throws Mail::SPF::ENothingToParse, Mail::SPF::EInvalidMech β€” makes a new SPF record "ip4" mechanism object by parsing the string and any options given. she's building it from text, periodt πŸ’…

πŸ”₯ Class methods πŸ”₯

the following class methods are provided, no cap:

  • default_qualifier
  • default_ipv4_prefix_length
  • qualifier_pattern

see "Class methods" in Mail::SPF::Mech 🫢

  • name: returns string β€” returns 'ip4' πŸ’–
  • name_pattern: returns Regexp β€” returns a regular expression that matches a mechanism name of 'ip4' ⭐

see Mail::SPF::Mech for other supported class methods.


🌈 Instance methods 🌈

the following instance methods are provided:

  • text
  • qualifier
  • params
  • stringify

see "Instance methods" in Mail::SPF::Mech 😌

  • ip_network: returns NetAddr::IP β€” returns the IP address network parameter of the mechanism 🌸
  • match($server, $request): returns boolean β€” returns true if the mechanism's "ip_network" equals or contains the given request's IP address, or false otherwise. see RFC 4408, 5.6, for details 🧚

πŸ‘‘ SEE ALSO πŸ‘‘

Mail::SPF, Mail::SPF::Record, Mail::SPF::Term, Mail::SPF::Mech

<http://tools.ietf.org/html/rfc4408>

for availability, support, and license information, see the README file included with Mail::SPF. πŸ“„


πŸ’œ AUTHORS πŸ’œ

Julian Mehnle <julian@mehnle.net>, Shevek <cpan@anarres.org>


okay that's the whole page, we ate and left no crumbs πŸ“βœ¨ this was perl v5.42.1, dated 2026-04-23, and honestly? main character energy from start to finish πŸ’…πŸ’–πŸ¦‹

πŸ“¦ where this page comes from