Ricardo SIGNES > Net-Continental-0.013 > Net::Continental

Download:
Net-Continental-0.013.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.013   Source  

NAME ^

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

VERSION ^

version 0.013

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.

syntax highlighting: