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.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/p5-Long-Jump | 0.000005 newest | no data | - | [email protected] | - |
| FreeBSD | devel/p5-Long-Jump | 0.000005 newest | none known | - | [email protected] | - |
| NetBSD | devel/p5-Long-Jump | 0.000003nb1 behind since 2026-10-05 | none known | - | [email protected] | 2026-10-05 |
| DragonFly | devel/p5-Long-Jump | 0.000003 behind since 2026-10-05 | none known | - | [email protected] | - |
| HardenedBSD | devel/p5-Long-Jump | 0.000005 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-Long-Jump | 0.000005 newest | no data | - | [email protected] | - |
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
p5-Importer>=0: devel/p5-Importer
Runtime 1
p5-Importer>=0: devel/p5-Importer
Test 1
p5-Test-Simple>=1.302200: devel/p5-Test-Simple
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
| File | Size | SHA256 |
|---|---|---|
| Long-Jump-0.000005.tar.gz | 13527 | 7b28e9901aee6987fa3023fc2c6dc42d9975f73da5d7a20ba66c2edfee355b5f |
Master sites 1
- CPAN