BSD Ports

devel/p5-AnyEvent 7.17,1 DragonFly

Provide framework for multiple event loops

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
devel, perl5
Package size
356.5 KiB, 831.8 KiB installed

Description

AnyEvent provides a uniform interface to various event loops. This allows module authors to use event loop functionality without forcing module users to use a specific event loop implementation (since more than one event loop cannot coexist peacefully).

The interface itself is vaguely similar, but not identical to the Event module.

During the first call of any watcher-creation method, the module tries to detect the currently loaded event loop by probing whether one of the following modules is already loaded: EV, AnyEvent::Loop, Event, Glib, Tk, Event::Lib, Qt, POE. The first one found is used. If none are detected, the module tries to load the first four modules in the order given; but note that if EV is not available, the pure-perl AnyEvent::Loop should always work, so the other two are not normally tried.

In the other systems

SystemPortVersion
DragonFlydevel/p5-AnyEvent7.17,1
FreeBSDdevel/p5-AnyEvent7.17,1
OpenBSDdevel/p5-AnyEvent7.17p2v0
NetBSDdevel/p5-AnyEvent7.17nb7
MidnightBSDdevel/p5-AnyEvent7.17,1
HardenedBSDdevel/p5-AnyEvent7.17,1
GhostBSDdevel/p5-AnyEvent7.17,1

Install

Binary package:

pkg install p5-AnyEvent

From DPorts:

cd /usr/dports/devel/p5-AnyEvent && make install clean

Dependencies

Run dependencies 1
Required by 67