|
NAMEIP::Country::MaxMind - Look up country by IP AddressSYNOPSISuse IP::Country::MaxMind; my $gi = IP::Country::MaxMind->new(GEOIP_STANDARD); # look up IP address '65.15.30.247' # returns undef if country is unallocated, or not defined in our database my $cc1 = $gi->inet_atocc('65.15.30.247'); my $cc2 = $gi->inet_atocc('yahoo.com'); DESCRIPTIONThis module adapts the Geo::IP module to use the same interface as the IP::Country modules; thus allowing users to easily switch between using the two underlying databases.DATABASE UPDATESFree monthly updates to the database are available fromhttp://www.maxmind.com/download/geoip/database/ If you require greater accuracy, MaxMind offers a Premium database on a paid subscription basis. The author of this module is in no way associated with MaxMind. CLASS METHODS
OBJECT METHODSAll object methods are designed to be used in an object-oriented fashion.$result = $object->foo_method($bar,$baz); Using the module in a procedural fashion (without the arrow syntax) won't work.
COPYRIGHTCopyright (C) 2002,2003 Nigel Wetters Gourlay. All Rights Reserved.NO WARRANTY. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Visit the GSP FreeBSD Man Page Interface. |