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>
To install Mail::SPF, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mail::SPF
CPAN shell
perl -MCPAN -e shell install Mail::SPF
For more information on module installation, please visit the detailed CPAN module installation guide.