The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::Continental::Zone - a zone of IP space

VERSION

version 0.009

METHODS

new

Achtung! There is no new method for you to use. Instead, do this:

  my $zone = Net::Continental->zone('au');

code

This returns the zone's zone code.

in_nerddk

This is true if the nerd.dk country blacklist is capable, using its encoding scheme, of indicating a hit from this country.

nerd_response

This returns the response that will be given by the nerd.dk country blacklist for IPs in this zone, if one is defined.

continent

This returns the continent in which the zone has been placed. These are subject to change, for now, and there may be a method by which to define your own classifications. I do not want to get angry email from people in Georgia!

description

This is a short description of the zone, like "United States" or "Soviet Union."

is_tld

This returns true if the zone code is also a country code TLD.

AUTHOR

Ricardo Signes <rjbs@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2009 by Ricardo Signes.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.