BSD Ports

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

SystemPortVersion
FreeBSDdevel/p5-Callback-Frame1.102
DragonFlydevel/p5-Callback-Frame1.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.1021.1021.1021.1021.102
FreeBSD:14:quarterly1.1021.102n/a1.1021.102
FreeBSD:15:latest1.1021.102n/a1.1021.102
FreeBSD:15:quarterly1.1021.102n/an/an/a
FreeBSD:16:latest1.1021.102n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

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
FileSizeSHA256
Callback-Frame-1.102.tar.gz12673e8a47c7cf04cea2fee5802deec79d6abc548cf4a199a66a251c8bf5d08dfe9c0
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.