BSD Ports

devel/p5-IO-Event 0.813_1 FreeBSD

Tied Filehandles for Nonblocking IO with Object Callbacks

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
29.9 KiB, 78.6 KiB installed

Description

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.

In the other systems

SystemPortVersion
FreeBSDdevel/p5-IO-Event0.813_1
NetBSDdevel/p5-IO-Event0.813nb10
DragonFlydevel/p5-IO-Event0.813_1
HardenedBSDdevel/p5-IO-Event0.813_1
GhostBSDdevel/p5-IO-Event0.813_1

Install

Binary package:

pkg install p5-IO-Event

From the ports tree:

cd /usr/ports/devel/p5-IO-Event/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-IO-Event>0:devel/p5-IO-Event

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.813_10.813_10.813_10.813_10.813_1
FreeBSD:14:quarterly0.813_10.813_1n/a0.813_10.813_1
FreeBSD:15:latest0.813_10.813_1n/a0.813_10.813_1
FreeBSD:15:quarterly0.813_10.813_1n/an/an/a
FreeBSD:16:latest0.813_10.813_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

Test 1

The full lists below include those, and their dependencies in turn.

Build dependencies 6
Run dependencies 6

Configuration

Options name: devel_IO-Event

OptionDefaultDescription
ANYEVENTonUse AnyEvent as underlying event handler
EVENTonUse Event as underlying event handler
USES
perl5
Service scripts
none

Files

pkg-plist 8
  • %%SITE_PERL%%/IO/Event.pm
  • %%SITE_PERL%%/IO/Event.pod
  • %%SITE_PERL%%/IO/Event/AnyEvent.pm
  • %%SITE_PERL%%/IO/Event/Callback.pm
  • %%SITE_PERL%%/IO/Event/Emulate.pm
  • %%SITE_PERL%%/IO/Event/Event.pm
  • %%PERL5_MAN3%%/IO::Event.3.gz
  • %%PERL5_MAN3%%/IO::Event::Callback.3.gz
distinfo 1
FileSizeSHA256
IO-Event-0.813.tar.gz3447743be65d079156d708bdfb6e0436a20593e6a040125187e577262c85b353f73b7
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.