aboutsummaryrefslogblamecommitdiff
path: root/devel/p5-Long-Jump/pkg-descr
blob: 1da638abfa9f4f6f113f8f82f6a3a60e611afda5 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                              
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