blib/lib/Acme/MetaSyntactic/regions.pm

filter: Statementstmt 100% 10 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 12 / 12 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Acme/MetaSyntactic/quantum.pm ↑ Summary blib/lib/Acme/MetaSyntactic/reindeer.pm »
1 package Acme::MetaSyntactic::regions;
2 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 ▶use Acme::MetaSyntactic::MultiList;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 our @ISA = qw( Acme::MetaSyntactic::MultiList);
5 2 our $VERSION = '1.001';
6 2 __PACKAGE__->init();
7  
8 2 1;
9  
10 =head1 NAME
11  
12 Acme::MetaSyntactic::regions - Administrative country subdivisions
13  
14 =head1 DESCRIPTION
15  
16 Most countries have administrative subdivisions, sometimes more than one
17 level deep. This theme lists the first level of administrative divisions
18 for a number of countries.
19  
20 Depending on the country, they have differente names: regions, provinces,
21 states, districts, emirates, parishes, dependencies, etc.
22  
23 The main source for finding lists of regions is the ISO 3166-2
24 standard (I<Codes for the representation of names of countries
25 and their subdivisions -- Part 2: Country subdivision code>). See
26 L<http://en.wikipedia.org/wiki/ISO_3166-2>.
27  
28 =head1 CONTRIBUTORS
29  
30 Abigail, Philippe Bruhat (BooK).
31  
32 =head1 CHANGES
33  
34 =over 4
35  
36 =item *
37  
38 2013-07-29 - v1.001
39  
40 Abigail cleaned up the US list and added US uninhabited territories,
41 in Acme-MetaSyntactic-Themes version 1.035.
42  
43 =item *
44  
45 2013-10-22 - v1.000
46  
47 Introduced in Acme-MetaSyntactic-Themes version 1.024.
48  
49 =item *
50  
51 2012-10-02
52  
53 After several attempts to fill the list of regions by hand
54 over the previous five months, finally used L<WWW::Mechanize>
55 to scrape all C<ISO_3166-2:I<cc>> pages listed on
56 L<http://en.wikipedia.org/wiki/ISO_3166-2> and L<Text::Unidecode> to
57 turn the names into valid Perl identifiers.
58  
59 =item *
60  
61 2012-05-10
62  
63 Extended the theme idea to administrative regions of any country,
64 and started collecting all region names.
65  
66 The default country remains C<nl>.
67  
68 =item *
69  
70 2005-10-20
71  
72 Abigail submitted a I<netherlands> theme, with the names of the Dutch
73 provinces.
74  
75 =back
76  
77 =head1 SEE ALSO
78  
79 L<Acme::MetaSyntactic>, L<Acme::MetaSyntactic::MultiList>.
80  
81 =cut
82  
83 __DATA__
« blib/lib/Acme/MetaSyntactic/quantum.pm ↑ Summary blib/lib/Acme/MetaSyntactic/reindeer.pm »