Text Blame History Raw

perl-Long-Jump

This Perl 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. It is safer than C language jump in that it only lets you escape frames by going up the stack, you cannot jump in other ways.