File Coverage

blib/lib/Geo/Direction/Name/Locale/zh_CN.pm
Criterion Covered Total %
statement 16 16 100.0
branch 1 2 50.0
condition n/a
subroutine 6 6 100.0
pod 1 1 100.0
total 24 25 96.0


line stmt bran cond sub pod time code
1             package Geo::Direction::Name::Locale::zh_CN;
2              
3 2     2   9 use warnings;
  2         4  
  2         48  
4 2     2   8 use strict;
  2         3  
  2         47  
5 2     2   7 use Carp;
  2         10  
  2         135  
6              
7 2     2   10 use base qw/Geo::Direction::Name::Locale/;
  2         3  
  2         15  
8              
9             BEGIN
10             {
11 2 50   2   8 if ( $] >= 5.006 )
12             {
13 2         10 require utf8; import utf8;
  2         8  
14             }
15             }
16              
17             sub dir_string {
18             [
19 328     328 1 2179 '北',
20             '北微东',
21             '东北偏北',
22             '东北微北',
23             '东北',
24             '东北微东',
25             '东北偏东',
26             '东微北',
27             '东',
28             '东微南',
29             '东南偏东',
30             '东南微东',
31             '东南',
32             '东南微南',
33             '东南偏南',
34             '南微东',
35             '南',
36             '南微西',
37             '西南偏南',
38             '西南微南',
39             '西南',
40             '西南微西',
41             '西南偏西',
42             '西微南',
43             '西',
44             '西微北',
45             '西北偏西',
46             '西北微西',
47             '西北',
48             '西北微北',
49             '西北偏北',
50             '北微西',
51             ]
52             }
53              
54             1;
55              
56             =head1 NAME
57              
58             Geo::Direction::Name::Locale::zh_CN - Locale 'zh_CN' class of Geo::Direction::Name's locale class.
59              
60              
61             =head1 OVERRIDE METHODS
62              
63             =over 4
64              
65             =item * dir_string
66              
67             =back
68              
69              
70             =head1 AUTHOR
71              
72             OHTSUKA Ko-hei C<< >>
73              
74              
75             =head1 LICENCE AND COPYRIGHT
76              
77             Copyright (c) 2008, OHTSUKA Ko-hei C<< >>. All rights reserved.
78              
79             This module is free software; you can redistribute it and/or
80             modify it under the same terms as Perl itself. See L.
81              
82              
83             =head1 DISCLAIMER OF WARRANTY
84              
85             BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
86             FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
87             OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
88             PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
89             EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
90             WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
91             ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH
92             YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
93             NECESSARY SERVICING, REPAIR, OR CORRECTION.
94              
95             IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
96             WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
97             REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE
98             LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL,
99             OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE
100             THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
101             RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
102             FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
103             SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
104             SUCH DAMAGES.
105