devel/p5-Guard 1.023nb12 NetBSD
Perl5 module to safe cleanup blocks
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
618415630a- License
- gnu-gpl-v2 OR artistic
- Categories
- devel, perl5
- Package size
- 11.9 KiB, 29.1 KiB installed
Description
This module implements so-called "guards". A guard is something (usually an object) that "guards" a resource, ensuring that it is cleaned up when expected.
Specifically, this module supports two different types of guards: guard objects, which execute a given code block when destroyed, and scoped guards, which are tied to the scope exit.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | devel/p5-Guard | 1.023nb12 |
| FreeBSD | devel/p5-Guard | 1.023_2 |
| OpenBSD | devel/p5-Guard | 1.023p0 |
| DragonFly | devel/p5-Guard | 1.023_1 |
| HardenedBSD | devel/p5-Guard | 1.023_2 |
| GhostBSD | devel/p5-Guard | 1.023_2 |
Install
Binary package:
pkgin install p5-Guard
From pkgsrc:
cd /usr/pkgsrc/devel/p5-Guard && 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 | 1.023nb12 |
| NetBSD 10.1 aarch64 | 1.023nb11 |
| SmartOS / illumos x86_64 | 1.023nb12 |
| macOS 15 arm64 | 1.023nb12 |