Ron Savage > WWW-Scraper-Wikipedia-ISO3166 > export.as.csv.pl

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

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

export.as.csv.pl - Export the SQLite database as CSV

SYNOPSIS ^

export.as.html.pl [options]

        Options:
        -help
        -country_file $aFileName
        -subcountry_file $aFileName
        -verbose $integer

All switches can be reduced to a single letter.

Exit value: 0.

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

Default output: Screen.

OPTIONS ^

o -country_file $aFileName

A CSV file name, to which country data will be written.

Default: country.csv

o -subcountry_file $aFileName

A CSV file name, to which subcountry data will be written.

Default: subcountry.csv

o -help

Print help and exit.

o -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: