| 1 | # Deprecation notice: Read POE::Pipe's documentation. | ||
| 2 | |||
| 3 | package POE::Pipe::TwoWay; | ||
| 4 | |||
| 5 | 81 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 81 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 81 | ▶ | use base qw( POE::Pipe ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | 81 | ▶ | use vars qw($VERSION); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | 81 | $VERSION = '1.370'; # NOTE - Should be #.### (three decimal places) | |
| 12 | |||
| 13 | 81 | ▶ | use IO::Pipely qw(socketpairly); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | |||
| 15 | 15 | ▶ | sub new { |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 16 | 15 | my ($class, $conduit_type) = @_; | |
| 17 | |||
| 18 | 15 | return socketpairly( | |
| 19 | debug => 0, | ||
| 20 | type => $conduit_type, | ||
| 21 | ); | ||
| 22 | } | ||
| 23 | |||
| 24 | 81 | 1; | |
| 25 | |||
| 26 | __END__ | ||