Mechanism for returning to a specific point from a deeply nested
https://metacpan.org/release/Long-Jump
This module 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.
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout devel:languages:perl/perl-Long-Jump && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
Long-Jump-0.000003.tar.gz | 0000012570 12.3 KB | |
perl-Long-Jump.changes | 0000000588 588 Bytes | |
perl-Long-Jump.spec | 0000002162 2.11 KB |
Latest Revision
Tina Müller (tinita)
committed
(revision 3)
Normalize CPAN version See https://github.com/openSUSE/cpanspec/issues/47 for details
Comments 0