line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::StackExchange2::V2::Badges; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
85
|
use 5.006; |
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
44
|
|
4
|
1
|
|
|
1
|
|
6
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
35
|
|
5
|
1
|
|
|
1
|
|
7
|
use warnings FATAL => 'all'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
38
|
|
6
|
1
|
|
|
1
|
|
143
|
use Sub::Name qw(subname); |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
60
|
|
7
|
1
|
|
|
1
|
|
28
|
use Net::StackExchange2::V2::Common qw(query no_params one_param); |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
389
|
|
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
|
|
|
|
|
|
*badges_all = subname( |
17
|
|
|
|
|
|
|
"Net::StackExchange2::V2::Badges::badges_all", |
18
|
|
|
|
|
|
|
no_params("badges"), |
19
|
|
|
|
|
|
|
); |
20
|
0
|
|
|
|
|
|
*badges = subname( |
21
|
|
|
|
|
|
|
"Net::StackExchange2::V2::Badges::badges", |
22
|
|
|
|
|
|
|
one_param("badges"), |
23
|
|
|
|
|
|
|
); |
24
|
0
|
|
|
|
|
|
*badges_name = subname( |
25
|
|
|
|
|
|
|
"Net::StackExchange2::V2::Badges::badges_name", |
26
|
|
|
|
|
|
|
no_params("badges/name"), |
27
|
|
|
|
|
|
|
); |
28
|
0
|
|
|
|
|
|
*badges_recipients_all = subname( |
29
|
|
|
|
|
|
|
"Net::StackExchange2::V2::Badges::badges_recipients_all", |
30
|
|
|
|
|
|
|
no_params('badges/recipients'), |
31
|
|
|
|
|
|
|
); |
32
|
0
|
|
|
|
|
|
*badges_recipients = subname( |
33
|
|
|
|
|
|
|
"Net::StackExchange2::V2::Badges::badges_recipients", |
34
|
|
|
|
|
|
|
one_param("badges","recipients") |
35
|
|
|
|
|
|
|
); |
36
|
0
|
|
|
|
|
|
*badges_tags = subname( |
37
|
|
|
|
|
|
|
"Net::StackExchange2::V2::Badges::badges_tags", |
38
|
|
|
|
|
|
|
no_params("badges/tags"), |
39
|
|
|
|
|
|
|
); |
40
|
|
|
|
|
|
|
|
41
|
0
|
|
|
|
|
|
return $self; |
42
|
|
|
|
|
|
|
} |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
1; #END of Net::StackExchange2::V2::Badges |
45
|
|
|
|
|
|
|
__END__ |