line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Feersum::Connection::Handle; |
2
|
30
|
|
|
30
|
|
217
|
use warnings; |
|
30
|
|
|
|
|
60
|
|
|
30
|
|
|
|
|
973
|
|
3
|
30
|
|
|
30
|
|
157
|
use strict; |
|
30
|
|
|
|
|
55
|
|
|
30
|
|
|
|
|
662
|
|
4
|
30
|
|
|
30
|
|
163
|
use Carp qw/croak/; |
|
30
|
|
|
|
|
54
|
|
|
30
|
|
|
|
|
2272
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
sub new { |
7
|
0
|
|
|
0
|
1
|
|
Carp::croak "Cannot instantiate Feersum::Connection::Handles directly"; |
8
|
|
|
|
|
|
|
} |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
package Feersum::Connection::Reader; |
11
|
30
|
|
|
30
|
|
202
|
use warnings; |
|
30
|
|
|
|
|
80
|
|
|
30
|
|
|
|
|
1036
|
|
12
|
30
|
|
|
30
|
|
217
|
use strict; |
|
30
|
|
|
|
|
67
|
|
|
30
|
|
|
|
|
838
|
|
13
|
30
|
|
|
30
|
|
187
|
use base 'Feersum::Connection::Handle'; |
|
30
|
|
|
|
|
60
|
|
|
30
|
|
|
|
|
5641
|
|
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
|
30
|
|
|
30
|
|
202
|
use warnings; |
|
30
|
|
|
|
|
84
|
|
|
30
|
|
|
|
|
1075
|
|
20
|
30
|
|
|
30
|
|
196
|
use strict; |
|
30
|
|
|
|
|
61
|
|
|
30
|
|
|
|
|
764
|
|
21
|
30
|
|
|
30
|
|
178
|
use base 'Feersum::Connection::Handle'; |
|
30
|
|
|
|
|
81
|
|
|
30
|
|
|
|
|
4263
|
|
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__ |