IO::Async::Buffer - backward-compatibility wrapper around IO::Async::Stream
IO::Async::Buffer
IO::Async::Stream
This class should not be used in new code, and is provided for backward compatibility for older applications that still use it. It has been renamed to IO::Async::Stream. Any application using this class should simply change
use IO::Async::Buffer; my $buffer = IO::Async::Buffer->new( .... );
into
use IO::Async::Stream; my $stream = IO::Async::Stream->new( .... );
The behaviour has not otherwise changed.
This function wraps a call to IO::Async::Stream->new(). It will translate the following deprecated options as well:
IO::Async::Stream->new()
This option is deprecated and should not be used in new code. It is maintained as a backward-compatibility synonym for on_read.
on_read
This class also provides wrappers for methods that have been renamed between IO::Async::Buffer and IO::Async::Stream.
A synonym for write().
write()
IO::Async::Stream - read and write buffers around an IO handle
Paul Evans <leonerd@leonerd.org.uk>
To install IO::Async::Set, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IO::Async::Set
CPAN shell
perl -MCPAN -e shell install IO::Async::Set
For more information on module installation, please visit the detailed CPAN module installation guide.