Net::SenderBase::Query - SenderBase query module
my $query = Net::SenderBase::Query->new( Transport => 'dns', Address => $ip, ); my $results = $query->results;
This module is a front-end to initiating the query.
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.
Address attribute is required.
Host is 'test.senderbase.org'.
Timeout is 5 seconds.
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.