ip2cc - lookup country from IP address or hostname
ip2cc [host-to-find]
Ip2cc is a program to lookup countries of IP addresses. Ip2cc has two modes: interactive and non-interactive. Interactive mode allows the user to query more than one hostname. Non-interactive mode is used to print just the country for a single host.
Interactive mode is entered when no arguments are given.
Non-interactive mode is used when the name or Internet address of the host to be looked up is given as the first argument.
IP::Country - the fast database used by this script.
Nigel Wetters Gourlay <nwetters@cpan.org>
!NO!SUBS!
To install IP::Country, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IP::Country
CPAN shell
perl -MCPAN -e shell install IP::Country
For more information on module installation, please visit the detailed CPAN module installation guide.