File Coverage

blib/lib/Encode/CN.pm
Criterion Covered Total %
statement 16 16 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod n/a
total 22 22 100.0


line stmt bran cond sub pod time code
1             package Encode::CN;
2             BEGIN {
3 9     9   2083 if ( ord("A") == 193 ) {
4             die "Encode::CN not supported on EBCDIC\n";
5             }
6             }
7 9     9   69 use strict;
  9         24  
  9         274  
8 9     9   60 use warnings;
  9         22  
  9         315  
9 9     9   57 use Encode;
  9         22  
  9         1472  
10             our $VERSION = do { my @r = ( q$Revision: 2.3 $ =~ /\d+/g ); sprintf "%d." . "%02d" x $#r, @r };
11 9     9   76 use XSLoader;
  9         41  
  9         381  
12             XSLoader::load( __PACKAGE__, $VERSION );
13              
14             # Relocated from Encode.pm
15              
16 9     9   4299 use Encode::CN::HZ;
  9         28  
  9         305  
17              
18             # use Encode::CN::2022_CN;
19              
20             1;
21             __END__