Mail::SPF::Test::Base - Base class for Mail::SPF::Test classes
use base 'Mail::SPF::Test::Base'; sub new { my ($class, @options) = @_; my $self = $class->SUPER::new(@options); ... return $self; }
Mail::SPF::Test::Base is a common base class for all Mail::SPF::Test classes.
The following constructor is provided:
Creates a new object of the class on which the constructor was invoked. The provided options are stored as key/value pairs in the new object.
The new constructor may also be called on an object, in which case the object is cloned. Any options provided override those from the old object.
new
There are no common options defined in Mail::SPF::Test::Base.
The following class methods are provided:
Returns the class name of the class or object on which it is invoked.
Creates an accessor method in the class on which it is invoked. The accessor has the given name and accesses the object field of the same name. If $readonly is true, the accessor is made read-only.
There are no common instance methods defined in Mail::SPF::Test::Base.
Mail::SPF::Test
For availability, support, and license information, see the README file included with Mail::SPF::Test.
Julian Mehnle <julian@mehnle.net>
To install Mail::SPF::Test, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mail::SPF::Test
CPAN shell
perl -MCPAN -e shell install Mail::SPF::Test
For more information on module installation, please visit the detailed CPAN module installation guide.