line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::StackExchange2::V2::Search; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
18
|
use 5.006; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
49
|
|
4
|
1
|
|
|
1
|
|
6
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
39
|
|
5
|
1
|
|
|
1
|
|
6
|
use warnings FATAL => 'all'; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
35
|
|
6
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
5
|
use Sub::Name qw(subname); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
61
|
|
8
|
1
|
|
|
1
|
|
5
|
use Net::StackExchange2::V2::Common qw(query no_params one_param); |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
480
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
our $VERSION = "0.05"; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub new { |
13
|
0
|
|
|
0
|
0
|
|
my ($class, $params) = @_; |
14
|
0
|
|
|
|
|
|
my $self = $params; |
15
|
0
|
|
|
|
|
|
bless $self, $class; |
16
|
|
|
|
|
|
|
|
17
|
0
|
|
|
|
|
|
*search = subname( |
18
|
|
|
|
|
|
|
"Net::StackExchange2::V2::Search::search", |
19
|
|
|
|
|
|
|
no_params("search"), |
20
|
|
|
|
|
|
|
); |
21
|
0
|
|
|
|
|
|
*search_advanced = subname( |
22
|
|
|
|
|
|
|
"Net::StackExchange2::V2::Search::search_advanced", |
23
|
|
|
|
|
|
|
no_params("search/advanced"), |
24
|
|
|
|
|
|
|
); |
25
|
0
|
|
|
|
|
|
*similar = subname( |
26
|
|
|
|
|
|
|
"Net::StackExchange2::V2::Search::similar", |
27
|
|
|
|
|
|
|
no_params("similar"), |
28
|
|
|
|
|
|
|
); |
29
|
0
|
|
|
|
|
|
return $self; |
30
|
|
|
|
|
|
|
} |
31
|
|
|
|
|
|
|
1; #END of Net::StackExchange2::V2::Search |
32
|
|
|
|
|
|
|
__END__ |