freebsd-ports/devel/p5-Callback-Frame/pkg-descr
Sunpoet Po-Chuan Hsieh ad4f267b7a Update WWW
search.cpan.org is shutting down.
It will redirect to metacpan.org after June 25, 2018.

With hat:	perl
2018-05-27 20:15:16 +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: https://metacpan.org/release/Callback-Frame