devel/p5-Callback-Frame 1.102 FreeBSD
Preserve error handlers and "local" variables across callbacks
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 14.7 KiB, 26.4 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 |
|---|---|---|
| FreeBSD | devel/p5-Callback-Frame | 1.102 |
| DragonFly | devel/p5-Callback-Frame | 1.102 |
Install
Binary package:
pkg install p5-Callback-Frame
From the ports tree:
cd /usr/ports/devel/p5-Callback-Frame/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Callback-Frame>0:devel/p5-Callback-Frame
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.102 | 1.102 | 1.102 | 1.102 | 1.102 |
| FreeBSD:14:quarterly | 1.102 | 1.102 | n/a | 1.102 | 1.102 |
| FreeBSD:15:latest | 1.102 | 1.102 | n/a | 1.102 | 1.102 |
| FreeBSD:15:quarterly | 1.102 | 1.102 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.102 | 1.102 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
p5-Guard>=0: devel/p5-Guard
Runtime 1
p5-Guard>=0: devel/p5-Guard
The full lists below include those, and their dependencies in turn.
Build dependencies 2
Run dependencies 2
Required by 1
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%PERL5_MAN3%%/Callback::Frame.3.gz
- %%SITE_PERL%%/Callback/Frame.pm
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Callback-Frame-1.102.tar.gz | 12673 | e8a47c7cf04cea2fee5802deec79d6abc548cf4a199a66a251c8bf5d08dfe9c0 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.