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

NAME

Locale::Country::SubCountry::Database::Export - Country names in English, and subcountry names in native scripts

Synopsis

See Locale::Country::SubCountry.

Description

Locale::Country::SubCountry provides subcountry names in their native scripts.

Methods

all_countries()

See "all_countries()" in Locale::Country::SubCountry::Base.

all_sub_countries()

See "all_sub_countries()" in Locale::Country::SubCountry::Base.

countries_as_csv()

Print to STDOUT a CSV version of the data returned by "/all_countries()" in Locale::Country::SubCountry::Base.

The output should match data/countries, except for slight variations in sort order.

countries_as_html()

Return a string of HTML containing a table of most country data (name, code2, code3, address_format).

See the -whole_page option in scripts/export.countries.as.html.pl for how to output either just a HTML table (for inclusion in a web page), or a whole web page.

The templates for this HTML are in htdocs/assets/templates/locale/country/subcountry/.

_init()

For use by subclasses.

Sets default values for object attributes.

new()

For use by subclasses.

sub_countries_as_csv()

Print to STDOUT a CSV version of the data returned by "/all_sub_countries()" in Locale::Country::SubCountry::Base.

The output should match data/sub_countries, except for slight variations in sort order.

sub_countries_as_html()

Return a string of HTML containing a table of most subcountry data (country_id, code, name).

See the -whole_page option in scripts/export.countries.as.html.pl for how to output either just a HTML table (for inclusion in a web page), or a whole web page.

The templates for this HTML are in htdocs/assets/templates/locale/country/subcountry/.

Support

Email the author, or log a bug on RT:

https://rt.cpan.org/Public/Dist/Display.html?Name=Locale::Country::SubCountry.

Author

Locale::Country::SubCountry was written by Ron Savage <ron@savage.net.au> in 2011.

Home page: http://savage.net.au/index.html.

Copyright

Australian copyright (c) 2011, Ron Savage.

        All Programs of mine are 'OSI Certified Open Source Software';
        you can redistribute them and/or modify them under the terms of
        The Artistic License, a copy of which is available at:
        http://www.opensource.org/licenses/index.html