[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1029522: ITP: liblong-jump-perl -- Mechanism for returning to a specific point from a deeply nested stack



Package: wnpp
Owner: Mason James <mtj@kohaaloha.com>
Severity: wishlist
X-Debbugs-CC: debian-devel@lists.debian.org, debian-perl@lists.debian.org

* Package name    : liblong-jump-perl
  Version         : 0.000001
  Upstream Author : Chad Granum <exodist@cpan.org>
* URL             : https://metacpan.org/release/Long-Jump
* License         : Artistic or GPL-1+
  Programming Lang: Perl
  Description     : Mechanism for returning to a specific point from a deeply nested stack

Long::Jump essentially provides a multi-level return. You can mark a spot
with setjump() and then unwind the stack back to that point from any nested
stack frame by name using longjump(). You can also provide a list of return
values.

This is not quite a match for C's long jump, but it is "close enough". It is
safer than C's jump in that it only lets you escape frames by going up the
stack, you cannot jump in other ways.

The package will be maintained under the umbrella of the Debian Perl Group.

--
Generated with the help of dpt-gen-itp(1) from pkg-perl-tools.


Reply to: