devel/p5-Long-Jump 0.000003nb1 NetBSD
Mechanism for returning to a specific point from a deeply nested stack
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
fe3d403c7e- License
- gnu-gpl-v2 OR artistic
- Categories
- devel, perl5
- Package size
- 6.6 KiB, 9.4 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
| System | Port | Version |
|---|---|---|
| NetBSD | devel/p5-Long-Jump | 0.000003nb1 |
| FreeBSD | devel/p5-Long-Jump | 0.000005 |
| DragonFly | devel/p5-Long-Jump | 0.000003 |
| MidnightBSD | devel/p5-Long-Jump | 0.000005 |
| HardenedBSD | devel/p5-Long-Jump | 0.000005 |
| GhostBSD | devel/p5-Long-Jump | 0.000005 |
Install
Binary package:
pkgin install p5-Long-Jump
From pkgsrc:
cd /usr/pkgsrc/devel/p5-Long-Jump && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 0.000003nb1 |
| NetBSD 10.1 aarch64 | 0.000003 |
| SmartOS / illumos x86_64 | 0.000005 |
| macOS 15 arm64 | 0.000005 |