line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Email::Address::JP::Mobile::DoCoMo; |
2
|
5
|
|
|
5
|
|
27
|
use strict; |
|
5
|
|
|
|
|
12
|
|
|
5
|
|
|
|
|
248
|
|
3
|
5
|
|
|
5
|
|
27
|
use warnings; |
|
5
|
|
|
|
|
10
|
|
|
5
|
|
|
|
|
152
|
|
4
|
5
|
|
|
5
|
|
26
|
use base 'Email::Address::JP::Mobile::Base'; |
|
5
|
|
|
|
|
11
|
|
|
5
|
|
|
|
|
3102
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
my $regex = qr/^(?: |
7
|
|
|
|
|
|
|
docomo\.ne\.jp |
8
|
|
|
|
|
|
|
)$/x; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub matches { |
11
|
|
|
|
|
|
|
$_[1]->host =~ $regex; |
12
|
|
|
|
|
|
|
} |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub name { 'DoCoMo' } |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
sub carrier_letter { 'I' } |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub is_mobile { 1 } |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
sub mime_encoding { |
21
|
|
|
|
|
|
|
Encode::find_encoding('MIME-Header-JP-Mobile-DoCoMo'); |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
sub send_encoding { |
25
|
|
|
|
|
|
|
Encode::find_encoding('x-sjis-docomo'); |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
sub parse_encoding { |
29
|
|
|
|
|
|
|
Encode::find_encoding('iso-2022-jp'); |
30
|
|
|
|
|
|
|
} |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
1; |