devel/p5-IO-Event 0.813nb10 NetBSD
Tied Filehandles for Nonblocking IO with Object Callbacks
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
618415630a- License
- gnu-gpl-v2 OR artistic
- Categories
- devel, perl5
- Package size
- 23.3 KiB, 90.1 KiB installed
Description
IO::Event provides a object-based callback system for handling nonblocking IO. The design goal is to provide a system that just does the right thing w/o 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.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | devel/p5-IO-Event | 0.813nb10 |
| FreeBSD | devel/p5-IO-Event | 0.813_1 |
| DragonFly | devel/p5-IO-Event | 0.813_1 |
| HardenedBSD | devel/p5-IO-Event | 0.813_1 |
| GhostBSD | devel/p5-IO-Event | 0.813_1 |
Install
Binary package:
pkgin install p5-IO-Event
From pkgsrc:
cd /usr/pkgsrc/devel/p5-IO-Event && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 0.813nb10 |
| NetBSD 10.1 aarch64 | 0.813nb9 |
| SmartOS / illumos x86_64 | 0.813nb10 |
| macOS 15 arm64 | 0.813nb10 |
Dependencies
Run dependencies 1
No port depends on this one.