line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Data::ChineseESP; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
66636
|
use 5.006; |
|
1
|
|
|
|
|
4
|
|
4
|
1
|
|
|
1
|
|
5
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
20
|
|
5
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
298
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=head1 NAME |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
Data::ChineseESP - Chinese big email service providers |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=head1 VERSION |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
Version 0.01 |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=cut |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
our $VERSION = '0.01'; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 SYNOPSIS |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
Dump Chinese big email service providers, for antispam purpose etc. |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
If you have found a new one, please contact me to update the list. |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
use Data::ChineseESP; |
28
|
|
|
|
|
|
|
use Data::Dumper; |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
my $esp = Data::ChineseESP->new(); |
31
|
|
|
|
|
|
|
print Dumper $esp->dump; |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 SUBROUTINES/METHODS |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head2 new |
37
|
|
|
|
|
|
|
my $esp = Data::ChineseESP->new(); |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head2 dump |
40
|
|
|
|
|
|
|
my $hash_ref = $esp->dump; |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=cut |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
sub new { |
45
|
0
|
|
|
0
|
1
|
|
my $class = shift; |
46
|
0
|
|
|
|
|
|
bless {},$class; |
47
|
|
|
|
|
|
|
} |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
sub dump { |
51
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
52
|
|
|
|
|
|
|
|
53
|
0
|
|
|
|
|
|
my $esp_data = |
54
|
|
|
|
|
|
|
{ |
55
|
|
|
|
|
|
|
'163.com' => { 'owner' => 'Netease INC', 'since' => '1997-09-14', }, |
56
|
|
|
|
|
|
|
'126.com' => { 'owner' => 'Netease INC', 'since' => '1998-02-27', }, |
57
|
|
|
|
|
|
|
'yeah.net' => { 'owner' => 'Netease INC', 'since' => '1997-08-19', }, |
58
|
|
|
|
|
|
|
'188.com' => { 'owner' => 'Netease INC', 'since' => '1998-03-10', }, |
59
|
|
|
|
|
|
|
'166.com' => { 'owner' => 'Netease INC', 'since' => '1998-03-10', }, |
60
|
|
|
|
|
|
|
'netease.com' => { 'owner' => 'Netease INC', 'since' => '1998-04-08', }, |
61
|
|
|
|
|
|
|
'sina.com' => { 'owner' => 'Sina INC', 'since' => '1998-09-15', }, |
62
|
|
|
|
|
|
|
'sina.cn' => { 'owner' => 'Sina INC', 'since' => '2003-03-17', }, |
63
|
|
|
|
|
|
|
'weibo.com' => { 'owner' => 'Sina INC', 'since' => '1999-03-20', }, |
64
|
|
|
|
|
|
|
'sina.com.cn' => { 'owner' => 'Sina INC', 'since' => '1998-11-20', }, |
65
|
|
|
|
|
|
|
'sohu.com' => { 'owner' => 'Sohu INC', 'since' => '1998-07-04', }, |
66
|
|
|
|
|
|
|
'sogou.com' => { 'owner' => 'Sohu INC', 'since' => '2001-12-19', }, |
67
|
|
|
|
|
|
|
'tom.com' => { 'owner' => 'Tom INC', 'since' => '1995-03-12', }, |
68
|
|
|
|
|
|
|
'163.net' => { 'owner' => 'Tom INC', 'since' => '1997-09-15', }, |
69
|
|
|
|
|
|
|
'21cn.net' => { 'owner' => 'China Telecom', 'since' => '1999-02-08', }, |
70
|
|
|
|
|
|
|
'21cn.com' => { 'owner' => 'China Telecom', 'since' => '1999-02-08', }, |
71
|
|
|
|
|
|
|
'189.cn' => { 'owner' => 'China Telecom', 'since' => '2004-05-04', }, |
72
|
|
|
|
|
|
|
'139.com' => { 'owner' => 'China Mobile', 'since' => '1997-04-25', }, |
73
|
|
|
|
|
|
|
'wo.cn' => { 'owner' => 'China Unicom', 'since' => '2013-12-27', }, |
74
|
|
|
|
|
|
|
'wo.com.cn' => { 'owner' => 'China Unicom', 'since' => '2000-03-29', }, |
75
|
|
|
|
|
|
|
'aliyun.com' => { 'owner' => 'Alibaba INC', 'since' => '2007-09-28', }, |
76
|
|
|
|
|
|
|
'dingtalk.com' => { 'owner' => 'Alibaba INC','since' => '2014-07-01', }, |
77
|
|
|
|
|
|
|
'taobao.com' => { 'owner' => 'Alibaba INC', 'since' => '2003-04-21', }, |
78
|
|
|
|
|
|
|
'qq.com' => { 'owner' => 'Tencent INC', 'since' => '1995-05-03', }, |
79
|
|
|
|
|
|
|
'qmail.com' => { 'owner' => 'Tencent INC', 'since' => '1996-07-09', }, |
80
|
|
|
|
|
|
|
'foxmail.com' => { 'owner' => 'Tencent INC', 'since' => '1997-09-21', }, |
81
|
|
|
|
|
|
|
'263.net' => { 'owner' => 'Capital Online', 'since' => '1998-05-03', }, |
82
|
|
|
|
|
|
|
'2980.com' => { 'owner' => 'Duoyi INC', 'since' => '2003-09-16', }, |
83
|
|
|
|
|
|
|
}; |
84
|
|
|
|
|
|
|
|
85
|
0
|
|
|
|
|
|
return $esp_data; |
86
|
|
|
|
|
|
|
} |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=head1 AUTHOR |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
Joel Peng, C<< >> |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
=head1 BUGS |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
Please report any bugs or feature requests to C, or through |
96
|
|
|
|
|
|
|
the web interface at L. I will be notified, and then you'll |
97
|
|
|
|
|
|
|
automatically be notified of progress on your bug as I make changes. |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
=head1 SUPPORT |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
You can find documentation for this module with the perldoc command. |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
perldoc Data::ChineseESP |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
You can also look for information at: |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
=over 4 |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
=item * RT: CPAN's request tracker (report bugs here) |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
L |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
=item * AnnoCPAN: Annotated CPAN documentation |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
L |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
=item * CPAN Ratings |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
L |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
=item * Search CPAN |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
L |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
=back |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
=head1 ACKNOWLEDGEMENTS |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
=head1 LICENSE AND COPYRIGHT |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
This software is Copyright (c) 2019 by Joel Peng. |
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
This is free software, licensed under: |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
The Artistic License 2.0 (GPL Compatible) |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
=cut |
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
1; # End of Data::ChineseESP |