The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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.