Chris Williams > POE-Component-Client-Whois-1.20 > POE::Component::Client::Whois::IPBlks

Download:
POE-Component-Client-Whois-1.20.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 1.20   Source   Latest Release: POE-Component-Client-Whois-1.28

NAME ^

POE::Component::Client::Whois::IPBlks - determine which whois server is responsible for a network address.

SYNOPSIS ^

  use strict;
  use POE::Component::Client::Whois::IPBlks;

  my $ipblks = POE::Component::Client::Whois::IPBlks->new();

  my $whois_server = $ipblks->get_server('192.168.1.12');

DESCRIPTION ^

POE::Component::Client::Whois::IPBlks provides the ability to determine which whois server is responsible for a network address. It has a list of network ranges mapped to whois servers and uses Net::Netmask to determine the appropriate Whois server for the given address.

CONSTRUCTOR ^

new

Returns a POE::Component::Client::Whois::IPBlks object.

METHODS ^

get_server

Takes a single argument, an IP address to lookup the Whois for. Returns the applicable whois server or undef on failure.

AUTHOR ^

Chris 'BinGOs' Williams

LICENSE ^

Copyright (c) Chris Williams

This module may be used, modified, and distributed under the same terms as Perl itself. Please see the license that came with your Perl distribution for details.

SEE ALSO ^

Net::Netmask