line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Feersum::Connection::Handle; |
2
|
22
|
|
|
22
|
|
147
|
use warnings; |
|
22
|
|
|
|
|
42
|
|
|
22
|
|
|
|
|
717
|
|
3
|
22
|
|
|
22
|
|
109
|
use strict; |
|
22
|
|
|
|
|
36
|
|
|
22
|
|
|
|
|
477
|
|
4
|
22
|
|
|
22
|
|
154
|
use Carp qw/croak/; |
|
22
|
|
|
|
|
81
|
|
|
22
|
|
|
|
|
1561
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
sub new { |
7
|
0
|
|
|
0
|
1
|
|
Carp::croak "Cannot instantiate Feersum::Connection::Handles directly"; |
8
|
|
|
|
|
|
|
} |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
package Feersum::Connection::Reader; |
11
|
22
|
|
|
22
|
|
155
|
use warnings; |
|
22
|
|
|
|
|
60
|
|
|
22
|
|
|
|
|
714
|
|
12
|
22
|
|
|
22
|
|
122
|
use strict; |
|
22
|
|
|
|
|
42
|
|
|
22
|
|
|
|
|
642
|
|
13
|
22
|
|
|
22
|
|
138
|
use base 'Feersum::Connection::Handle'; |
|
22
|
|
|
|
|
44
|
|
|
22
|
|
|
|
|
3708
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub write { ## no critic (BuiltinHomonyms) |
16
|
0
|
|
|
0
|
|
|
Carp::croak "can't call write() on a read-only handle" } |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
package Feersum::Connection::Writer; |
19
|
22
|
|
|
22
|
|
167
|
use warnings; |
|
22
|
|
|
|
|
46
|
|
|
22
|
|
|
|
|
833
|
|
20
|
22
|
|
|
22
|
|
125
|
use strict; |
|
22
|
|
|
|
|
39
|
|
|
22
|
|
|
|
|
565
|
|
21
|
22
|
|
|
22
|
|
115
|
use base 'Feersum::Connection::Handle'; |
|
22
|
|
|
|
|
46
|
|
|
22
|
|
|
|
|
3072
|
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
sub read { ## no critic (BuiltinHomonyms) |
24
|
0
|
|
|
0
|
|
|
Carp::croak "can't call read() on a write-only handle" } |
25
|
|
|
|
|
|
|
sub seek { ## no critic (BuiltinHomonyms) |
26
|
0
|
|
|
0
|
|
|
Carp::croak "can't call seek() on a write-only handle" } |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
package Feersum::Connection::Handle; |
29
|
|
|
|
|
|
|
1; |
30
|
|
|
|
|
|
|
__END__ |