BSD Ports

devel/p5-Callback-Frame 1.102 DragonFly

Preserve error handlers and "local" variables across callbacks

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

Description

When programming with callbacks in perl, you create anonymous functions with sub { ... }. These functions are especially useful because when they are called they will preserve their surrounding lexical environment. Sometimes people call these anonymous functions that reference variables in their surrounding lexical scope "closures". Whatever you call them, they are essential for convenient and efficient asynchronous programming.

For many applications we really like straightforward callback style. The goal of Callback::Frame is to simplify the management of dynamic environments while leaving callback style alone.

In the other systems

SystemPortVersion
DragonFlydevel/p5-Callback-Frame1.102
FreeBSDdevel/p5-Callback-Frame1.102
HardenedBSDdevel/p5-Callback-Frame1.102
GhostBSDdevel/p5-Callback-Frame1.102

Install

Binary package:

pkg install p5-Callback-Frame

From DPorts:

cd /usr/dports/devel/p5-Callback-Frame && make install clean

Dependencies

Run dependencies 2
Required by 1