GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Mail::SPF::Base(3) User Contributed Perl Documentation Mail::SPF::Base(3)

Mail::SPF::Base - Base class for Mail::SPF classes

    use base 'Mail::SPF::Base';

    sub new {
        my ($class, @options) = @_;
        my $self = $class->SUPER::new(@options);
        ...
        return $self;
    }

Mail::SPF::Base is a common base class for all Mail::SPF classes.

The following constructor is provided:
new(%options): returns Mail::SPF::Base
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.

There are no common options defined in Mail::SPF::Base.

The following class methods are provided:
class: returns string
Returns the class name of the class or object on which it is invoked.

The following class methods are provided:
make_accessor($name, $readonly): returns code-ref
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::Base.

Mail::SPF

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

Julian Mehnle <julian@mehnle.net>, Shevek <cpan@anarres.org>
2022-04-07 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.