line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::StackExchange2::V2::Tags; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
18
|
use 5.006; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
42
|
|
4
|
1
|
|
|
1
|
|
10
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
198
|
|
5
|
1
|
|
|
1
|
|
6
|
use warnings FATAL => 'all'; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
48
|
|
6
|
1
|
|
|
1
|
|
5
|
use Sub::Name qw(subname); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
56
|
|
7
|
1
|
|
|
1
|
|
6
|
use Net::StackExchange2::V2::Common qw(query no_params one_param two_params); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
717
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
our $VERSION = "0.05"; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub new { |
12
|
0
|
|
|
0
|
0
|
|
my ($class, $params) = @_; |
13
|
0
|
|
|
|
|
|
my $self = $params; |
14
|
0
|
|
|
|
|
|
bless $self, $class; |
15
|
|
|
|
|
|
|
|
16
|
0
|
|
|
|
|
|
*tags_all = subname( |
17
|
|
|
|
|
|
|
"Net::StackExchange2::V2::Tags::tags_all", |
18
|
|
|
|
|
|
|
no_params("tags"), |
19
|
|
|
|
|
|
|
); |
20
|
0
|
|
|
|
|
|
*tags_info = subname( |
21
|
|
|
|
|
|
|
"Net::StackExchange2::V2::Tags::tags_info", |
22
|
|
|
|
|
|
|
one_param("tags", "info"), |
23
|
|
|
|
|
|
|
); |
24
|
0
|
|
|
|
|
|
*tags_moderator_only = subname( |
25
|
|
|
|
|
|
|
"Net::StackExchange2::V2::Tags::tags_moderator_only", |
26
|
|
|
|
|
|
|
no_params("tags/moderator-only"), |
27
|
|
|
|
|
|
|
); |
28
|
0
|
|
|
|
|
|
*tags_required = subname( |
29
|
|
|
|
|
|
|
"Net::StackExchange2::V2::Tags::tags_required", |
30
|
|
|
|
|
|
|
no_params("tags/required"), |
31
|
|
|
|
|
|
|
); |
32
|
0
|
|
|
|
|
|
*tags_synonyms_all = subname( |
33
|
|
|
|
|
|
|
"Net::StackExchange2::V2::Tags::tags_synonyms_all", |
34
|
|
|
|
|
|
|
no_params("tags/synonyms"), |
35
|
|
|
|
|
|
|
); |
36
|
0
|
|
|
|
|
|
*tags_faq = subname( |
37
|
|
|
|
|
|
|
"Net::StackExchange2::V2::Tags::tags_faq", |
38
|
|
|
|
|
|
|
one_param("tags", "faq"), |
39
|
|
|
|
|
|
|
); |
40
|
0
|
|
|
|
|
|
*tags_related = subname( |
41
|
|
|
|
|
|
|
"Net::StackExchange2::V2::Tags::tags_related", |
42
|
|
|
|
|
|
|
one_param("tags", "related"), |
43
|
|
|
|
|
|
|
); |
44
|
0
|
|
|
|
|
|
*tags_synonyms = subname( |
45
|
|
|
|
|
|
|
"Net::StackExchange2::V2::Tags::tags_synonyms", |
46
|
|
|
|
|
|
|
one_param("tags", "synonyms"), |
47
|
|
|
|
|
|
|
); |
48
|
0
|
|
|
|
|
|
*tags_top_answerers = subname( |
49
|
|
|
|
|
|
|
"Net::StackExchange2::V2::Tags::tags_top_answerers", |
50
|
|
|
|
|
|
|
two_params("tags", "top-answerers"), |
51
|
|
|
|
|
|
|
); |
52
|
0
|
|
|
|
|
|
*tags_top_askers = subname( |
53
|
|
|
|
|
|
|
"Net::StackExchange2::V2::Tags::tags_top_askers", |
54
|
|
|
|
|
|
|
two_params("tags", "top-askers"), |
55
|
|
|
|
|
|
|
); |
56
|
0
|
|
|
|
|
|
*tags_wikis = subname( |
57
|
|
|
|
|
|
|
"Net::StackExchange2::V2::Tags::tags_wikis", |
58
|
|
|
|
|
|
|
one_param("tags", "wikis"), |
59
|
|
|
|
|
|
|
); |
60
|
0
|
|
|
|
|
|
return $self; |
61
|
|
|
|
|
|
|
} |
62
|
|
|
|
|
|
|
1; # End of Net::StackExchange2::V2::Tags |
63
|
|
|
|
|
|
|
__END__ |