line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package POEx::IRC::Backend::Role::CheckAvail; |
2
|
|
|
|
|
|
|
$POEx::IRC::Backend::Role::CheckAvail::VERSION = '0.030003'; |
3
|
1
|
|
|
1
|
|
652
|
use strictures 2; |
|
1
|
|
|
|
|
7
|
|
|
1
|
|
|
|
|
42
|
|
4
|
1
|
|
|
1
|
|
753
|
use Try::Tiny; |
|
1
|
|
|
|
|
1103
|
|
|
1
|
|
|
|
|
54
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
6
|
use Role::Tiny; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
7
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
my %_can_haz; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub has_ssl_support { |
12
|
0
|
0
|
|
0
|
0
|
|
unless (defined $_can_haz{ssl}) { |
13
|
0
|
|
|
0
|
|
|
try {; require POE::Component::SSLify; $_can_haz{ssl} = 1 } |
|
0
|
|
|
|
|
|
|
14
|
0
|
|
|
0
|
|
|
catch {; $_can_haz{ssl} = 0 }; |
|
0
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
$_can_haz{ssl} |
17
|
0
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub has_zlib_support { |
20
|
0
|
0
|
|
0
|
0
|
|
unless (defined $_can_haz{zlib}) { |
21
|
0
|
|
|
0
|
|
|
try {; require POE::Filter::Zlib::Stream; $_can_haz{zlib} = 1 } |
|
0
|
|
|
|
|
|
|
22
|
0
|
|
|
0
|
|
|
catch {; $_can_haz{zlib} = 0 }; |
|
0
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
$_can_haz{zlib} |
25
|
0
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
1; |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=for Pod::Coverage .* |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=cut |