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

NAME

Net::Continental - code to map countries to continents, esp. with nerd.dk dnsbl

VERSION

version 0.010

NAME

Net::Continental - IP addresses of the world, by country and continent

METHODS

zone

  # Get the zone for the US.
  my $zone = Net::Continental->zone('us');

This returns a Net::Continental::Zone object for the given ISO code.

zone_for_nerd_ip

  # get the zone for nerd's response for the US
  my $zone = Net::Continental->zone_for_nerd_ip('127.0.3.72');

known_zone_codes

  my @codes = Net::Continental->known_zone_codes;

This returns a list of all known zone codes, in no particular order.

AUTHOR

This code was written in 2009 by Ricardo SIGNES.

The development of this code was sponsored by Pobox.com. Thanks, Pobox!

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.