DOKK / manpages / debian 11 / libmail-spf-perl / Mail::SPF::Term.3pm.en
Mail::SPF::Term(3pm) User Contributed Perl Documentation Mail::SPF::Term(3pm)

Mail::SPF::Term - SPF record term class

An object of class Mail::SPF::Term represents a term within an SPF record. Mail::SPF::Term cannot be instantiated directly. Create an instance of a concrete sub-class instead.

The following constructor is provided:

Abstract. Creates a new SPF record term object.

%options is a list of key/value pairs, however Mail::SPF::Term itself specifies no constructor options.

Abstract. Creates a new SPF record term object by parsing the string and any options given.

The following class methods are provided:

Returns a regular expression that matches any legal name for an SPF record term.

The following instance methods are provided:

Returns the unparsed text of the term. Throws a Mail::SPF::ENoUnparsedText exception if the term was created synthetically instead of being parsed, and no text was provided.
Abstract. Returns the name of the term.

Mail::SPF, Mail::SPF::Record, Mail::SPF::Mech, Mail::SPF::Mod

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

For availability, support, and license information, see the README file included with Mail::SPF.

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

2021-01-02 perl v5.32.0