NAME
Net::Continental::Zone - a zone of IP space
VERSION
version 0.017
PERL VERSION
This library should run on perls released even a long time ago. It should work on any version of perl released in the last five years.
Although it may work on older versions of perl, no guarantee is made that the minimum required version will not be increased. The version may be increased for any reason, and there is no promise that patches will be accepted to lower the minimum required perl.
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 <cpan@semiotic.systems>
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.