line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Feersum::Connection::Handle; |
2
|
30
|
|
|
30
|
|
205
|
use warnings; |
|
30
|
|
|
|
|
67
|
|
|
30
|
|
|
|
|
979
|
|
3
|
30
|
|
|
30
|
|
150
|
use strict; |
|
30
|
|
|
|
|
61
|
|
|
30
|
|
|
|
|
640
|
|
4
|
30
|
|
|
30
|
|
142
|
use Carp qw/croak/; |
|
30
|
|
|
|
|
61
|
|
|
30
|
|
|
|
|
2267
|
|
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
|
|
207
|
use warnings; |
|
30
|
|
|
|
|
73
|
|
|
30
|
|
|
|
|
1047
|
|
12
|
30
|
|
|
30
|
|
188
|
use strict; |
|
30
|
|
|
|
|
78
|
|
|
30
|
|
|
|
|
805
|
|
13
|
30
|
|
|
30
|
|
209
|
use base 'Feersum::Connection::Handle'; |
|
30
|
|
|
|
|
63
|
|
|
30
|
|
|
|
|
5955
|
|
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
|
|
213
|
use warnings; |
|
30
|
|
|
|
|
85
|
|
|
30
|
|
|
|
|
1084
|
|
20
|
30
|
|
|
30
|
|
180
|
use strict; |
|
30
|
|
|
|
|
57
|
|
|
30
|
|
|
|
|
771
|
|
21
|
30
|
|
|
30
|
|
169
|
use base 'Feersum::Connection::Handle'; |
|
30
|
|
|
|
|
52
|
|
|
30
|
|
|
|
|
4364
|
|
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__ |