From cdc9c8711c948e32ac51e6d9e819d0f749e2b11d Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sun, 1 Mar 2020 06:27:37 +0000 Subject: Add p5-Long-Jump 0.000001 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. WWW: https://metacpan.org/release/Long-Jump --- devel/p5-Long-Jump/pkg-plist | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 devel/p5-Long-Jump/pkg-plist (limited to 'devel/p5-Long-Jump/pkg-plist') diff --git a/devel/p5-Long-Jump/pkg-plist b/devel/p5-Long-Jump/pkg-plist new file mode 100644 index 000000000000..d379e11c10b0 --- /dev/null +++ b/devel/p5-Long-Jump/pkg-plist @@ -0,0 +1,2 @@ +%%SITE_PERL%%/Long/Jump.pm +%%PERL5_MAN3%%/Long::Jump.3.gz -- cgit v1.2.3