aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Callback-Frame/pkg-descr
blob: f7e4bcd8054e9e0fa8027b8f27a6868ec8cdde95 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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: https://metacpan.org/release/Callback-Frame