BSD Ports

devel/p5-Long-Jump 0.000005 FreeBSD

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

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
13.2 KiB, 32.5 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

SystemPortVersion
FreeBSDdevel/p5-Long-Jump0.000005
NetBSDdevel/p5-Long-Jump0.000003nb1
DragonFlydevel/p5-Long-Jump0.000003
MidnightBSDdevel/p5-Long-Jump0.000005
HardenedBSDdevel/p5-Long-Jump0.000005
GhostBSDdevel/p5-Long-Jump0.000005

Install

Binary package:

pkg install p5-Long-Jump

From the ports tree:

cd /usr/ports/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

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.0000050.0000050.0000010.0000030.000005
FreeBSD:14:quarterly0.0000050.000005n/a0.0000030.000005
FreeBSD:15:latest0.0000050.000005n/a0.0000030.000003
FreeBSD:15:quarterly0.0000050.000005n/an/an/a
FreeBSD:16:latest0.0000050.000005n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

Test 1

The full lists below include those, and their dependencies in turn.

Build dependencies 2
Run dependencies 2

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

Commit history 0

No commits in the history this site was built from.