populate.subcountries.pl - Parse en.wikipedia.org.wiki.ISO_3166-2.$code2.html for all missing $code2
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.
Print help and exit.
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.
To install WWW::Scraper::Wikipedia::ISO3166, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Scraper::Wikipedia::ISO3166
CPAN shell
perl -MCPAN -e shell install WWW::Scraper::Wikipedia::ISO3166
For more information on module installation, please visit the detailed CPAN module installation guide.