IP-World

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

DESCRIPTION

  IP::World returns the ISO-3166 country code associated with an IP4 
  address.  It uses a free database from WIPmania.com. The free database
  it used to use from MaxMind.com has been discontinued.
  
  The included application 'maint_ip_world_db' checks whether the 
  included IP::World database needs updating during installation, and 
  can be run or scheduled to keep it current.  WIPmania.com releases
  new source data bimonthly. On a server, 'maint_ip_world_db' can be
  scheduled (cron'ed on Unix/Linux) to run at an unbusy time.
  
LICENSE INFORMATION

  This module is free software; you may redistribute it and/or modify
  it under the same terms as Perl 5.10.1.  For more details, see the
  full text of the licenses at

  <http://www.perlfoundation.org/artistic_license_1_0> and
  <http://www.gnu.org/licenses/gpl-2.0.html>.

lib/IP/World.pod  view on Meta::CPAN


Three Perl scripts are installed with IP::World:

=head3 maint_ip_world_db

The application checks whether new data is available from either data 
source.  If there is, it downloads the data and builds a new database.

You can run this manually to check for a new database, or (on a
server or other 24/7 system) you can schedule it for automatic
execution at a non-busy time.

In either case you should run I<maint_ip_world_db> with privilege to
rewrite the database file.  For Unix/Linux systems this means
running it as I<root>, such as by entering the command
C<sudo maint_ip_world_db>.

During installation, you will be asked if a command should be
executed by I<maint_ip_world_db> when a new database has been
created (e.g., to restart a web server that uses the database).



( run in 0.840 second using v1.01-cache-2.11-cpan-87723dcf8b7 )