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
| System | Port | Version |
|---|---|---|
| DragonFly | devel/p5-Callback-Frame | 1.102 |
| FreeBSD | devel/p5-Callback-Frame | 1.102 |
| HardenedBSD | devel/p5-Callback-Frame | 1.102 |
| GhostBSD | devel/p5-Callback-Frame | 1.102 |
Install
Binary package:
pkg install p5-Callback-Frame
From DPorts:
cd /usr/dports/devel/p5-Callback-Frame && make install clean