devel/p5-Throwable 1.001nb4 NetBSD
Perl 5 role for classes that can be thrown
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
618415630a- License
- gnu-gpl-v2 OR artistic
- Categories
- devel, perl5
- Package size
- 9.5 KiB, 29.4 KiB installed
Description
Throwable is a role for classes that are meant to be thrown as exceptions to standard program flow. It is very simple and does only two things: saves any previous value for $@ and calls die $self.
Throwable::Error is a base class for exceptions that will be thrown to signal errors and abort normal program flow. Throwable::Error is an alternative to Exception::Class, the features of which are largely provided by the Moose object system atop which Throwable::Error is built.
Throwable::Error performs the Throwable role.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | devel/p5-Throwable | 1.001nb4 |
| FreeBSD | devel/p5-Throwable | 1.001 |
| OpenBSD | devel/p5-Throwable | 1.001 |
| DragonFly | devel/p5-Throwable | 1.001 |
| MidnightBSD | devel/p5-Throwable | 1.001 |
| HardenedBSD | devel/p5-Throwable | 1.001 |
| GhostBSD | devel/p5-Throwable | 1.001 |
Install
Binary package:
pkgin install p5-Throwable
From pkgsrc:
cd /usr/pkgsrc/devel/p5-Throwable && 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.001nb4 |
| NetBSD 10.1 aarch64 | 1.001nb3 |
| SmartOS / illumos x86_64 | 1.001nb4 |
| macOS 15 arm64 | 1.001nb4 |