FreeBSD.software
Home/devel/p5-Callback-Frame

p5-Callback-Frame

1.102

Preserve error handlers and "local" variables across callbacks

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.

Origin: devel/p5-Callback-Frame
Category: devel
Size: 26.4KiB
License: ART10, GPLv1+
Maintainer: perl@FreeBSD.org
Dependencies: 2 packages
Required by: 1 packages
$pkg install p5-Callback-Frame

Dependencies (2)

Required By (1 packages)

More in devel