Take me over?
The maintainer of this distribution is looking for someone to take over!
If you're interested then please contact them via
email.
NAME
Net::SenderBase::Query - SenderBase query module
SYNOPSIS
my $query = Net::SenderBase::Query->new(
Transport => 'dns',
Address => $ip,
);
my $results = $query->results;
DESCRIPTION
This module is a front-end to initiating the query.
new()
my $query = Net::SenderBase::Query->new(
Transport => 'dns',
Address => $ip,
Host => 'test.senderbase.org',
Timeout => 10,
);
This method constructs a new query object. If an error occurs while constructing the query an exception will be thrown.
The Address
attribute is required.
The default Host
is 'test.senderbase.org'.
The default Timeout
is 5 seconds.
results()
my $results = $query->results();
This method returns a Net::SenderBase::Results
object containing the data for this IP address. If there was no data available it returns undef. If an error occured obtaining the results an exception will be thrown.