File Coverage

blib/lib/POE/Pipe/TwoWay.pm
Criterion Covered Total %
statement 17 17 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod 0 1 0.0
total 23 24 95.8


line stmt bran cond sub pod time code
1             # Deprecation notice: Read POE::Pipe's documentation.
2              
3             package POE::Pipe::TwoWay;
4              
5 81     81   1591 use warnings;
  81         119  
  81         4948  
6 81     81   389 use strict;
  81         101  
  81         1920  
7              
8 81     81   280 use base qw( POE::Pipe );
  81         90  
  81         9646  
9              
10 81     81   338 use vars qw($VERSION);
  81         173  
  81         3870  
11             $VERSION = '1.370'; # NOTE - Should be #.### (three decimal places)
12              
13 81     81   324 use IO::Pipely qw(socketpairly);
  81         116  
  81         7542  
14              
15             sub new {
16 15     15 0 193982 my ($class, $conduit_type) = @_;
17              
18 15         50 return socketpairly(
19             debug => 0,
20             type => $conduit_type,
21             );
22             }
23              
24             1;
25              
26             __END__