POE::Driver::SysRW - POE sysread/syswrite Abstraction
$driver = new POE::Driver::SysRW(); $arrayref_of_data_chunks = $driver->get($filehandle); $queue_octets = $driver->put($arrayref_of_data_chunks); $queue_octets = $driver->flush($filehandle); $queue_messages = $driver->get_out_messages_buffered();
This driver provides an abstract interface to sysread and syswrite.
POE::Driver::SysRW::new( ... );
The new() constructor accepts one optional parameter:
BlockSize => $block_size
This is the maximum data size that the SysRW driver will read at once. If omitted, $block_size defaults to 512.
POE::Driver
Oh, probably some.
Please see the POE manpage.
To install POE, copy and paste the appropriate command in to your terminal.
cpanm
cpanm POE
CPAN shell
perl -MCPAN -e shell install POE
For more information on module installation, please visit the detailed CPAN module installation guide.