-
Notifications
You must be signed in to change notification settings - Fork 26
/
TwoWay.pm
55 lines (34 loc) · 1.02 KB
/
TwoWay.pm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Deprecation notice: Read POE::Pipe's documentation.
package POE::Pipe::TwoWay;
use warnings;
use strict;
use base qw( POE::Pipe );
use vars qw($VERSION);
$VERSION = '1.370'; # NOTE - Should be #.### (three decimal places)
use IO::Pipely qw(socketpairly);
sub new {
my ($class, $conduit_type) = @_;
return socketpairly(
debug => 0,
type => $conduit_type,
);
}
1;
__END__
=head1 NAME
POE::Pipe::TwoWay - Deprecated and replaced with delegates to IO::Pipely.
=head1 SYNOPSIS
See L<POE::Pipe> and L<IO::Pipely>.
=head1 DESCRIPTION
This module is deprecated. L<IO::Pipely> was released to CPAN as its
replacement. Please see L<POE::Pipe> for details, including the
deprecation schedule.
=head1 SEE ALSO
L<POE::Pipe> and L<IO::Pipely>.
=head1 AUTHOR & COPYRIGHT
POE::Pipe::TwoWay is copyright 2001-2013 by Rocco Caputo. All rights
reserved. POE::Pipe::TwoWay is free software; you may redistribute it
and/or modify it under the same terms as Perl itself.
=cut
# rocco // vim: ts=2 sw=2 expandtab
# TODO - Edit.