NAME

build_ipcc.pl - Build database for IP::Country::DB_File

VERSION

version 3.03

SYNOPSIS

build_ipcc.pl [OPTIONS] [DBFILE]

Typical usage to verbosely fetch files, build database, and remove files:

build_ipcc.pl -vfbr

DESCRIPTION

Build a database for IP address to country translation with IP::Country::DB_File. DBFILE specifies the database file and defaults to ipcc.db.

OPTIONS

You should provide at least one of the -f, -b or -r options, otherwise this command does nothing.

-f

Fetch statistics files via FTP.

-b

Build database. Requires that the files have been fetched.

-r

Remove statistics files.

-d [dir]

Directory for the statistics files. Defaults to the current directory.

-v

Verbose output.

AUTHOR

Nick Wellnhofer <wellnhofer@aevum.de>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Nick Wellnhofer.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.