File Coverage

blib/lib/Sah/Schemas/Country.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Sah::Schemas::Country;
2              
3 1     1   428284 use strict;
  1         2  
  1         112  
4              
5             our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
6             our $DATE = '2023-08-07'; # DATE
7             our $DIST = 'Sah-Schemas-Country'; # DIST
8             our $VERSION = '0.009'; # VERSION
9              
10             1;
11             # ABSTRACT: Various Sah schemas related to country codes/names
12              
13             __END__
14              
15             =pod
16              
17             =encoding UTF-8
18              
19             =head1 NAME
20              
21             Sah::Schemas::Country - Various Sah schemas related to country codes/names
22              
23             =head1 VERSION
24              
25             This document describes version 0.009 of Sah::Schemas::Country (from Perl distribution Sah-Schemas-Country), released on 2023-08-07.
26              
27             =head1 SAH SCHEMAS
28              
29             The following schemas are included in this distribution:
30              
31             =over
32              
33             =item * L<country::code|Sah::Schema::country::code>
34              
35             Country code (alpha-2 or alpha-3).
36              
37             Accept only current (not retired) codes. Alpha-2 or alpha-3 codes are accepted.
38              
39             Code will be converted to lowercase.
40              
41              
42             =item * L<country::code::alpha2|Sah::Schema::country::code::alpha2>
43              
44             Country code (alpha-2).
45              
46             Accept only current (not retired) codes. Only alpha-2 codes are accepted.
47              
48             Code will be converted to lowercase.
49              
50              
51             =item * L<country::code::alpha3|Sah::Schema::country::code::alpha3>
52              
53             Country code (alpha-3).
54              
55             Accept only current (not retired) codes. Only alpha-3 codes are accepted.
56              
57             Code will be converted to lowercase.
58              
59              
60             =back
61              
62             =head1 HOMEPAGE
63              
64             Please visit the project's homepage at L<https://metacpan.org/release/Sah-Schemas-Country>.
65              
66             =head1 SOURCE
67              
68             Source repository is at L<https://github.com/perlancar/perl-Sah-Schemas-Country>.
69              
70             =head1 SEE ALSO
71              
72             L<Sah> - schema specification
73              
74             L<Data::Sah> - Perl implementation of Sah
75              
76             =head1 AUTHOR
77              
78             perlancar <perlancar@cpan.org>
79              
80             =head1 CONTRIBUTING
81              
82              
83             To contribute, you can send patches by email/via RT, or send pull requests on
84             GitHub.
85              
86             Most of the time, you don't need to build the distribution yourself. You can
87             simply modify the code, then test via:
88              
89             % prove -l
90              
91             If you want to build the distribution (e.g. to try to install it locally on your
92             system), you can install L<Dist::Zilla>,
93             L<Dist::Zilla::PluginBundle::Author::PERLANCAR>,
94             L<Pod::Weaver::PluginBundle::Author::PERLANCAR>, and sometimes one or two other
95             Dist::Zilla- and/or Pod::Weaver plugins. Any additional steps required beyond
96             that are considered a bug and can be reported to me.
97              
98             =head1 COPYRIGHT AND LICENSE
99              
100             This software is copyright (c) 2023, 2020, 2019, 2018 by perlancar <perlancar@cpan.org>.
101              
102             This is free software; you can redistribute it and/or modify it under
103             the same terms as the Perl 5 programming language system itself.
104              
105             =head1 BUGS
106              
107             Please report any bugs or feature requests on the bugtracker website L<https://rt.cpan.org/Public/Dist/Display.html?Name=Sah-Schemas-Country>
108              
109             When submitting a bug or request, please include a test-file or a
110             patch to an existing test-file that illustrates the bug or desired
111             feature.
112              
113             =cut