FreeBSD.software
Home/devel/p5-Long-Jump

p5-Long-Jump

0.000003devel

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.

$pkg install p5-Long-Jump
metacpan.org/release/Long-Jump
Origin
devel/p5-Long-Jump
Size
31.8KiB
License
ART10, GPLv1+
Maintainer
sunpoet@FreeBSD.org
Dependencies
2 packages
Required by
1 packages

Dependencies (2)

Required By (1)