Ron Savage > WWW-Scraper-Wikipedia-ISO3166 > populate.countries.pl

Download:
WWW-Scraper-Wikipedia-ISO3166-1.02.tgz

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

populate.countries.pl - Parse en.wikipedia.org.wiki.ISO_3166-2.html

SYNOPSIS ^

populate.countries.pl [options]

        Options:
        -help
        -verbose $integer

All switches can be reduced to a single letter.

Exit value: 0.

Default input: data/en.wikipedia.org.wiki.ISO_3166-2.html.

This is output by scripts/get.country.page.pl.

Default output: share/www.scraper.wikipedia.iso3166.sqlite.

OPTIONS ^

-help

Print help and exit.

-verbose => $integer

Print more or less progress reports. Details (more-or-less):

        0: Print nothing.
        1: Warnings, or anything I'm working on.
        2: The country table and specials table.
        3: The kinds of subcountries encountered. See comments in code re 'verbose > 2'.

Default: 0.

syntax highlighting: