WWW-Scraper-Wikipedia-ISO3166
view release on metacpan or search on metacpan
lib/WWW/Scraper/Wikipedia/ISO3166/Database/Export.pm view on Meta::CPAN
package WWW::Scraper::Wikipedia::ISO3166::Database::Export;
use parent 'WWW::Scraper::Wikipedia::ISO3166::Database';
use strict;
use warnings;
use Config::Tiny;
use File::ShareDir;
use File::Spec;
use Moo;
use Sort::Naturally; # For nsort.
use Text::Xslate 'mark_raw';
use Types::Standard qw/Any HashRef Str/;
use Unicode::Normalize; # For NFC().
has config =>
(
default => sub{return {} },
is => 'rw',
isa => Any,
required => 0,
);
has config_file =>
(
default => sub{return '.htwww.scraper.wikipedia.iso3166.conf'},
is => 'rw',
isa => Str,
required => 0,
);
has countries_file =>
(
default => sub{return 'countries.csv'},
is => 'rw',
isa => Str,
required => 0,
);
has subcountries_file =>
(
default => sub{return 'subcountries.csv'},
is => 'rw',
isa => Str,
required => 0,
);
has subcountry_categories_file =>
(
default => sub{return 'subcountry_categories.csv'},
is => 'rw',
isa => Str,
required => 0,
);
has subcountry_info_file =>
(
default => sub{return 'subcountry_info.csv'},
is => 'rw',
isa => Str,
required => 0,
);
has templater =>
(
default => sub{return ''},
is => 'rw',
isa => Any,
( run in 4.673 seconds using v1.01-cache-2.11-cpan-63c85eba8c4 )