File Coverage

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