line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package CP932NEC::R2; |
2
|
|
|
|
|
|
|
###################################################################### |
3
|
|
|
|
|
|
|
# |
4
|
|
|
|
|
|
|
# CP932NEC::R2 - provides minimal CP932NEC I/O subroutines by short name |
5
|
|
|
|
|
|
|
# |
6
|
|
|
|
|
|
|
# http://search.cpan.org/dist/CP932NEC-R2/ |
7
|
|
|
|
|
|
|
# |
8
|
|
|
|
|
|
|
# Copyright (c) 2019 INABA Hitoshi in a CPAN |
9
|
|
|
|
|
|
|
###################################################################### |
10
|
|
|
|
|
|
|
|
11
|
12
|
|
|
12
|
|
37704
|
use 5.00503; # Galapagos Consensus 1998 for primetools |
|
12
|
|
|
|
|
102
|
|
12
|
|
|
|
|
|
|
# use 5.008001; # Lancaster Consensus 2013 for toolchains |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
$VERSION = '0.05'; |
15
|
|
|
|
|
|
|
$VERSION = $VERSION; |
16
|
|
|
|
|
|
|
|
17
|
12
|
|
|
12
|
|
68
|
use strict; |
|
12
|
|
|
|
|
23
|
|
|
12
|
|
|
|
|
391
|
|
18
|
12
|
50
|
|
12
|
|
222
|
BEGIN { $INC{'warnings.pm'} = '' if $] < 5.006 }; use warnings; $^W=1; |
|
12
|
|
|
12
|
|
83
|
|
|
12
|
|
|
|
|
39
|
|
|
12
|
|
|
|
|
540
|
|
19
|
12
|
|
|
12
|
|
5947
|
use UTF8::R2; |
|
12
|
|
|
|
|
66271
|
|
|
12
|
|
|
|
|
67
|
|
20
|
12
|
|
|
12
|
|
5620
|
use IOas::CP932NEC; |
|
12
|
|
|
|
|
31450014
|
|
|
12
|
|
|
|
|
103
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
sub import { |
23
|
12
|
|
|
12
|
|
1077
|
no strict qw(refs); |
|
12
|
|
|
|
|
26
|
|
|
12
|
|
|
|
|
2957
|
|
24
|
12
|
|
|
12
|
|
213
|
tie my %mb, 'UTF8::R2'; |
25
|
12
|
|
|
|
|
84
|
*{caller().'::mb'} = \%mb; |
|
12
|
|
|
|
|
98
|
|
26
|
12
|
|
|
16
|
|
45
|
*{caller().'::mbeach'} = sub { UTF8::R2::split(qr//,$_[0]) }; |
|
12
|
|
|
|
|
73
|
|
|
16
|
|
|
|
|
1186
|
|
27
|
12
|
|
|
|
|
34
|
*{caller().'::mbtr' } = \&UTF8::R2::tr; |
|
12
|
|
|
|
|
49
|
|
28
|
12
|
|
|
|
|
26
|
*{caller().'::iolen' } = \&IOas::CP932NEC::length; |
|
12
|
|
|
|
|
43
|
|
29
|
12
|
|
|
|
|
26
|
*{caller().'::iomid' } = \&IOas::CP932NEC::substr; |
|
12
|
|
|
|
|
38
|
|
30
|
12
|
|
|
|
|
27
|
*{caller().'::ioget' } = \&IOas::CP932NEC::readline; |
|
12
|
|
|
|
|
58
|
|
31
|
12
|
|
|
|
|
24
|
*{caller().'::ioput' } = \&IOas::CP932NEC::print; |
|
12
|
|
|
|
|
38
|
|
32
|
12
|
|
|
|
|
24
|
*{caller().'::ioputf'} = \&IOas::CP932NEC::printf; |
|
12
|
|
|
|
|
44
|
|
33
|
12
|
|
|
|
|
26
|
*{caller().'::iosort'} = \&IOas::CP932NEC::sort; |
|
12
|
|
|
|
|
399
|
|
34
|
|
|
|
|
|
|
} |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
1; |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
__END__ |