BSD Ports

devel/p5-Long-Jump 0.000003 DragonFly

Mechanism for returning to a specific point from a deeply nested stack

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
devel, perl5
Package size
11.9 KiB, 32.1 KiB installed

Description

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.

In the other systems

The newest version among them is 0.000005, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/p5-Long-Jump0.000003 behind since 2026-10-05none known-[email protected]-
FreeBSDdevel/p5-Long-Jump0.000005 newestnone known-[email protected]-
NetBSDdevel/p5-Long-Jump0.000003nb1 behind since 2026-10-05none known-[email protected]2026-10-05
MidnightBSDdevel/p5-Long-Jump0.000005 newestno data-[email protected]-
HardenedBSDdevel/p5-Long-Jump0.000005 newestno data-[email protected]-
GhostBSDdevel/p5-Long-Jump0.000005 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install p5-Long-Jump

From DPorts:

cd /usr/dports/devel/p5-Long-Jump && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 2
Required by 1