Mechanism for returning to a specific point from a deeply nested

Edit Package perl-Long-Jump
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.

Refresh
Refresh
Source Files
Filename Size Changed
Long-Jump-0.000001.tar.gz 0000012123 11.8 KB
perl-Long-Jump.changes 0000000196 196 Bytes
perl-Long-Jump.spec 0000001943 1.9 KB
Revision 1 (latest revision is 3)
Stephan Kulow's avatar Stephan Kulow (coolo) accepted request 1010416 from Dirk Stoecker's avatar Dirk Stoecker (dstoecker) (revision 1)
For perl-Test-MockFile update
Comments 0
openSUSE Build Service is sponsored by