[Bug 192264] New: [new port] devel/p5-Callback-Frame - Preserve error handlers and "local" variables across callbacks
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jul 30 04:25:56 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192264
Bug ID: 192264
Summary: [new port] devel/p5-Callback-Frame - Preserve error
handlers and "local" variables across callbacks
Product: Ports Tree
Version: Latest
Hardware: Any
OS: Any
Status: Needs Triage
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: bill.brinzer at gmail.com
Created attachment 145140
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=145140&action=edit
p5-Callback-Frame.shar
This is a dependency of new port devel/p5-AnyEvent-Task, which I plan to submit
shortly.
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.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.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list