|
NAMENet::Abuse::Utils::Spamhaus - Perl extension for checking data against the spamhaus blacklists SYNOPSIS use Net::Abuse::Utils::Spamhaus qw(check_fqdn check_ip);
my $addr = '222.186.44.110';
my $ret = check_ip($addr);
$addr = 'test';
$ret = check_fqdn($addr);
foreach (@$ret){
warn $_->{'assessment'}.': '.$_->{'description'}.' -- '.$_->{'id'};
}
DESCRIPTIONEXPORTcheck_ip, check_fqdn FUNCTIONS
SEE ALSOhttp://www.spamhaus.org/zen/ http://www.spamhaus.org/dbl/ AUTHORWes Young, <wes@barely3am.com> COPYRIGHT AND LICENSECopyright (C) 2012 by Wes Young (wesyoung.me) This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.1 or, at your option, any later version of Perl 5 you may have available.
|