line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# Deprecation notice: Read POE::Pipe's documentation. |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package POE::Pipe::TwoWay; |
4
|
|
|
|
|
|
|
|
5
|
80
|
|
|
80
|
|
1858
|
use warnings; |
|
80
|
|
|
|
|
108
|
|
|
80
|
|
|
|
|
2862
|
|
6
|
80
|
|
|
80
|
|
303
|
use strict; |
|
80
|
|
|
|
|
105
|
|
|
80
|
|
|
|
|
2463
|
|
7
|
|
|
|
|
|
|
|
8
|
80
|
|
|
80
|
|
332
|
use base qw( POE::Pipe ); |
|
80
|
|
|
|
|
174
|
|
|
80
|
|
|
|
|
7022
|
|
9
|
|
|
|
|
|
|
|
10
|
80
|
|
|
80
|
|
336
|
use vars qw($VERSION); |
|
80
|
|
|
|
|
100
|
|
|
80
|
|
|
|
|
3647
|
|
11
|
|
|
|
|
|
|
$VERSION = '1.366'; # NOTE - Should be #.### (three decimal places) |
12
|
|
|
|
|
|
|
|
13
|
80
|
|
|
80
|
|
376
|
use IO::Pipely qw(socketpairly); |
|
80
|
|
|
|
|
91
|
|
|
80
|
|
|
|
|
6730
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub new { |
16
|
15
|
|
|
15
|
0
|
2049
|
my ($class, $conduit_type) = @_; |
17
|
|
|
|
|
|
|
|
18
|
15
|
|
|
|
|
60
|
return socketpairly( |
19
|
|
|
|
|
|
|
debug => 0, |
20
|
|
|
|
|
|
|
type => $conduit_type, |
21
|
|
|
|
|
|
|
); |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
__END__ |