Date: Sun, 17 Aug 2014 16:57:00 +0000 From: bugzilla-noreply@freebsd.org To: perl@FreeBSD.org Subject: [Bug 192264] [new port] devel/p5-Callback-Frame - Preserve error handlers and "local" variables across callbacks Message-ID: <bug-192264-14331-PraB2FFKtj@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-192264-14331@https.bugs.freebsd.org/bugzilla/> References: <bug-192264-14331@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192264 --- Comment #13 from commit-hook@freebsd.org --- A commit references this bug: Author: pi Date: Sun Aug 17 16:56:05 UTC 2014 New revision: 365204 URL: http://svnweb.freebsd.org/changeset/ports/365204 Log: 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 Changes: head/devel/Makefile head/devel/p5-Callback-Frame/ head/devel/p5-Callback-Frame/Makefile head/devel/p5-Callback-Frame/distinfo head/devel/p5-Callback-Frame/pkg-descr head/devel/p5-Callback-Frame/pkg-plist -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192264-14331-PraB2FFKtj>