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

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

Annotate this POD

CPAN RT

New  1
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
        -countries_file $aCSVFileName
        -maxlevel $string
        -subcountries_file $aCSVFileName
        -subcountry_categories_file $aCSVFileName
        -subcountry_info_file $aCSVFileName

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 -countries_file $aCSVFileName

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

Default: countries.csv

o -help

Print help and exit.

-maxlevel => $string

Typical values: 'debug'.

Default: 'notice'.

o -subcountries_file $aCSVFileName

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

Default: subcountries.csv

o -subcountry_categories_file $aCSVFileName

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

Default: subcountry_categories.csv

o -subcountry_info_file $aCSVFileName

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

Default: subcountry_info.csv

syntax highlighting: