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.
For availability, support, and license information, see the README file included with Mail::SPF.
Julian Mehnle <firstname.lastname@example.org>, Shevek <email@example.com>