blib/lib/ShiftJIS/CP932/MapUTF.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 20 / 20 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« MapUTF.xs ↑ Summary
1 package ShiftJIS::CP932::MapUTF;
2  
3 15 require 5.006;
4  
5 15 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 15 ▶use vars qw($VERSION $PACKAGE @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 15 require Exporter;
9 15 require DynaLoader;
10  
11 15 @ISA = qw(Exporter DynaLoader);
12  
13 15 $VERSION = '1.03';
14 15 $PACKAGE = 'ShiftJIS::CP932::MapUTF'; # __PACKAGE__
15  
16 15 @EXPORT = qw(
17 cp932_to_unicode unicode_to_cp932
18 cp932_to_utf8 utf8_to_cp932
19 cp932_to_utf16le utf16le_to_cp932
20 cp932_to_utf16be utf16be_to_cp932
21 );
22  
23 15 %EXPORT_TAGS = (
24 'unicode' => [ 'cp932_to_unicode', 'unicode_to_cp932' ],
25 'utf8' => [ 'cp932_to_utf8', 'utf8_to_cp932' ],
26 'utf16' => [ 'utf16_to_cp932' ],
27 'utf16le' => [ 'cp932_to_utf16le', 'utf16le_to_cp932' ],
28 'utf16be' => [ 'cp932_to_utf16be', 'utf16be_to_cp932' ],
29 'utf32' => [ 'utf32_to_cp932' ],
30 'utf32le' => [ 'cp932_to_utf32le', 'utf32le_to_cp932' ],
31 'utf32be' => [ 'cp932_to_utf32be', 'utf32be_to_cp932' ],
32 );
33  
34 15 @EXPORT_OK = map @$_, values %EXPORT_TAGS;
35 15 $EXPORT_TAGS{all} = [ @EXPORT_OK ];
36  
37 15 bootstrap ShiftJIS::CP932::MapUTF $VERSION;
38  
39 15 1;
40 __END__
« MapUTF.xs ↑ Summary