freebsd-ports/devel/p5-Callback-Frame/pkg-descr
Kurt Jaeger 2dc6b29b04 New port: devel/p5-Callback-Frame
When programming with callbacks in perl, you create anonymous
functions with sub { ... }. These functions 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.

WWW: http://search.cpan.org/dist/Callback-Frame/

PR:		192264
Submitted by:	bill.brinzer@gmail.com
2014-08-17 16:56:04 +00:00

12 lines
672 B
Text

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.
WWW: http://search.cpan.org/dist/Callback-Frame/