File Coverage

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