POE::Driver::SysRW - POE sysread/syswrite Abstraction |
POE::Driver::SysRW - POE sysread/syswrite Abstraction
$driver = new POE::Driver::SysRW(); $arrayref_of_data_chunks = $driver->get($filehandle); $queue_size = $driver->put($arrayref_of_data_chunks); $queue_size = $driver->flush($filehandle);
This driver provides an abstract interface to sysread and syswrite.
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.
POE::Driver::SysRW - POE sysread/syswrite Abstraction |