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 79     79   1437 use warnings;
  79         165  
  79         3339  
6 79     79   367 use strict;
  79         83  
  79         2434  
7              
8 79     79   368 use base qw( POE::Pipe );
  79         173  
  79         7318  
9              
10 79     79   418 use vars qw($VERSION);
  79         120  
  79         4149  
11             $VERSION = '1.365'; # NOTE - Should be #.### (three decimal places)
12              
13 79     79   405 use IO::Pipely qw(socketpairly);
  79         105  
  79         7676  
14              
15             sub new {
16 15     15 0 2124 my ($class, $conduit_type) = @_;
17              
18 15         54 return socketpairly(
19             debug => 0,
20             type => $conduit_type,
21             );
22             }
23              
24             1;
25              
26             __END__