| Net-SenderBase documentation | Contained in the Net-SenderBase distribution. |
Net::SenderBase - Query the senderbase service
my $query = Net::SenderBase::Query->new(
Transport => 'http',
Address => $ip,
);
my $results = $query->results();
This module is an interface to the SenderBase query service at http://www.senderbase.org/.
It allows you to query senderbase either via HTTP, or via DNS. The reason you might choose one or the other are:
HTTP is blocking, but more firewalls allow HTTP queries than allow DNS queries
DNS queries can be "fired off" early in a script and the results collected later. This means your query won't block other subsystems in your program.
Both http and dns queries will return a Net::SenderBase::Results
object.
Net::SenderBase::Query
This is free software. You may use it and distribute it under the same terms as Perl itself.
Matt Sergeant, <msergeant@messagelabs.com>.
Copyright 2003 MessageLabs Ltd.
This module wraps up the results of a senderbase query in an easy to use API. The only way to construct one of these objects is to make a senderbase query and get the results. This object is entirely read only.
| Net-SenderBase documentation | Contained in the Net-SenderBase distribution. |
# $Id: SenderBase.pm,v 1.3 2003/07/21 16:13:00 matt Exp $ package Net::SenderBase; use strict; use Net::SenderBase::Query; # Nothing to do in base module except set the version number... use vars qw($VERSION); $VERSION = '1.01'; 1; __END__