FreeBSD.software
Home/devel/p5-IO-Event

p5-IO-Event

0.813_1devel

Tied Filehandles for Nonblocking IO with Object Callbacks

IO::Event provides an object-based callback system for handling nonblocking IO. The design goal is to provide a system that just does the right thing without the user needing to think about it much. All APIs are kept as simple as possible yet at the same time, all functionality is accesible if needed. Simple things are easy. Hard things are possible. Most of the time file handling syntax will work fine: <$filehandle> and print $filehandle 'stuff'. IO::Event provides automatic buffering of output (with a callback to throttle). It provides automatic line-at-a-time input. After initial setup, call IO::Event::loop(). IO::Event was originally written to use Event. IO::Event still defaults to using Event but it can now use AnyEvent or its own event loop.

$pkg install p5-IO-Event
metacpan.org/release/IO-Event
Origin
devel/p5-IO-Event
Size
78.6KiB
License
ART10, GPLv1+
Maintainer
sunpoet@FreeBSD.org
Dependencies
4 packages
Required by
1 packages

Dependencies (4)

Required By (1)