line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package WebService::Wikimapia::GlobalAdmin; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
$WebService::Wikimapia::GlobalAdmin::VERSION = '0.14'; |
4
|
|
|
|
|
|
|
$WebService::Wikimapia::GlobalAdmin::AUTHORITY = 'cpan:MANWAR'; |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
=head1 NAME |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
WebService::Wikimapia::GlobalAdmin - Placeholder for 'gadm' of L. |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
=head1 VERSION |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
Version 0.14 |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=cut |
15
|
|
|
|
|
|
|
|
16
|
7
|
|
|
7
|
|
93
|
use 5.006; |
|
7
|
|
|
|
|
22
|
|
17
|
7
|
|
|
7
|
|
29
|
use Data::Dumper; |
|
7
|
|
|
|
|
14
|
|
|
7
|
|
|
|
|
288
|
|
18
|
|
|
|
|
|
|
|
19
|
7
|
|
|
7
|
|
37
|
use Moo; |
|
7
|
|
|
|
|
17
|
|
|
7
|
|
|
|
|
32
|
|
20
|
7
|
|
|
7
|
|
1915
|
use namespace::autoclean; |
|
7
|
|
|
|
|
15
|
|
|
7
|
|
|
|
|
38
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
has 'id' => (is => 'ro'); |
23
|
|
|
|
|
|
|
has 'name' => (is => 'ro'); |
24
|
|
|
|
|
|
|
has 'level' => (is => 'ro'); |
25
|
|
|
|
|
|
|
has 'type' => (is => 'ro'); |
26
|
|
|
|
|
|
|
has 'iso' => (is => 'ro'); |
27
|
|
|
|
|
|
|
has 'translation' => (is => 'ro'); |
28
|
|
|
|
|
|
|
has 'country' => (is => 'ro'); |
29
|
|
|
|
|
|
|
has 'is_last_level' => (is => 'ro'); |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 METHODS |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head2 id() |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head2 name() |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head2 level() |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head2 type() |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head2 iso() |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head2 translation() |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head2 country() |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head2 is_last_level() |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head1 AUTHOR |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
Mohammad S Anwar, C<< >> |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head1 REPOSITORY |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
L |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head1 BUGS |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
Please report any bugs or feature requests to C
|
60
|
|
|
|
|
|
|
rt.cpan.org>, or through the web interface at L. |
61
|
|
|
|
|
|
|
I will be notified and then you'll automatically be notified of progress on your |
62
|
|
|
|
|
|
|
bug as I make changes. |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=head1 SUPPORT |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
You can find documentation for this module with the perldoc command. |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
perldoc WebService::Wikimapia::GlobalAdmin |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
You can also look for information at: |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=over 4 |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=item * RT: CPAN's request tracker |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
L |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
=item * AnnoCPAN: Annotated CPAN documentation |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
L |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=item * CPAN Ratings |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
L |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
=item * Search CPAN |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
L |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=back |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
=head1 LICENSE AND COPYRIGHT |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
Copyright (C) 2011 - 2015 Mohammad S Anwar. |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify it under |
97
|
|
|
|
|
|
|
the terms of the the Artistic License (2.0). You may obtain a copy of the full |
98
|
|
|
|
|
|
|
license at: |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
L |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
Any use, modification, and distribution of the Standard or Modified Versions is |
103
|
|
|
|
|
|
|
governed by this Artistic License.By using, modifying or distributing the Package, |
104
|
|
|
|
|
|
|
you accept this license. Do not use, modify, or distribute the Package, if you do |
105
|
|
|
|
|
|
|
not accept this license. |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
If your Modified Version has been derived from a Modified Version made by someone |
108
|
|
|
|
|
|
|
other than you,you are nevertheless required to ensure that your Modified Version |
109
|
|
|
|
|
|
|
complies with the requirements of this license. |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
This license does not grant you the right to use any trademark, service mark, |
112
|
|
|
|
|
|
|
tradename, or logo of the Copyright Holder. |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
This license includes the non-exclusive, worldwide, free-of-charge patent license |
115
|
|
|
|
|
|
|
to make, have made, use, offer to sell, sell, import and otherwise transfer the |
116
|
|
|
|
|
|
|
Package with respect to any patent claims licensable by the Copyright Holder that |
117
|
|
|
|
|
|
|
are necessarily infringed by the Package. If you institute patent litigation |
118
|
|
|
|
|
|
|
(including a cross-claim or counterclaim) against any party alleging that the |
119
|
|
|
|
|
|
|
Package constitutes direct or contributory patent infringement,then this Artistic |
120
|
|
|
|
|
|
|
License to you shall terminate on the date that such litigation is filed. |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND |
123
|
|
|
|
|
|
|
CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED |
124
|
|
|
|
|
|
|
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR |
125
|
|
|
|
|
|
|
NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL LAW. UNLESS |
126
|
|
|
|
|
|
|
REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT, |
127
|
|
|
|
|
|
|
INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE |
128
|
|
|
|
|
|
|
OF THE PACKAGE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
=cut |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
1; # End of WebService::Wikimapia::GlobalAdmin |