BSD Ports

devel/p5-Long-Jump 0.000005 MidnightBSD

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

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
artistic, gpl+
Categories
devel, perl5

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
MidnightBSDdevel/p5-Long-Jump0.000005 newestno data-[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
DragonFlydevel/p5-Long-Jump0.000003 behind since 2026-10-05none known-[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:

mport install p5-Long-Jump

From mports:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Long-Jump>0:devel/p5-Long-Jump

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

As this port's Makefile names them.

Build 1

Runtime 1

Test 1

Build dependencies 1
Run dependencies 1
Required by 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Long/Jump.pm
  • %%PERL5_MAN3%%/Long::Jump.3.gz
distinfo 1
FileSizeSHA256
Long-Jump-0.000005.tar.gz135277b28e9901aee6987fa3023fc2c6dc42d9975f73da5d7a20ba66c2edfee355b5f
Master sites 1
  • CPAN