Ron Savage > WWW-Scraper-Wikipedia-ISO3166-1.02 > populate.subcountries.pl

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

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

populate.subcountries.pl - Parse en.wikipedia.org.wiki.ISO_3166-2.$code2.html for all missing $code2

SYNOPSIS ^

populate.subcountries.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.$code2.html for all not-yet-imported $code2.

These is output by scripts/get.subcountry.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: