John Kennedy

NAME

Net::IPFromZip- find all ip addresses associated with a specific zip code

SYNOPSIS

  use Net::IPFromZip qw/reverse/;

  #assuming that the .csv file is either in the local directory or in /usr/local/share/GeoIP
  my @ips = @{ reverse("59715") }; 

  #if not
  my @ips = @{ reverse("/path/to/file.csv", "59715") }; 

DESCRIPTION

This module uses the GeoIP2 database in the form of CSV files. It takes in a zip code, being that a zip code is more accurate than an area code or city name, and that a zip code is the most accurate input the free GeoIP2 databases take.

EXPORT

reverse - the main function

Being that the only meat of this module is the main reverse function, only one function is exported

SEE ALSO

http://github.com/jk33/reverse-geo-ip - repository containing compressed csv databases, the originaly reverseFromCSV.pl file, and various misc scripts

http://github.com/jk33/net-ipfromzip - repository with all the perl module source

AUTHOR

John Kennedy, <jgk@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2015 by John Kennedy

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.18.2 or, at your option, any later version of Perl 5 you may have available.