blob: 0ccdc597a15ed22f48095e89f2cbe4f601d464b0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
This module eases the task of checking if a given host is in the list.
The methods available are described below:
`->new(suffix)'
Creates a list handle. The `suffix' parameter is mandatory and
specifies which suffix to append to the queries.
`->check($host)'
`$host' can be either a hostname or an IP address. In the case of an
IP Address, any trailing netmask (anything after a '/' character)
will be ignored. In the case of a hostname, all the IP addresses
will be looked up and checked against the list. If any of the
addresses is in the list, the host will be considered in the list as
a whole.
AUTHOR: Luis E. Munoz <lem@cantv.net>
WWW: http://search.cpan.org/dist/Mail-RBL/
|