devel/p5-Exception-Class-TryCatch 1.13p0 OpenBSD
syntactic try/catch sugar for use with Exception::Class
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Categories
- devel, perl5
Description
Exception::Class::TryCatch provides syntactic sugar for use with Exception::Class using the familiar keywords try and catch. Its primary objective is to allow users to avoid dealing directly with $@ by ensuring that any exceptions caught in an eval are captured as Exception::Class objects, whether they were thrown objects to begin with or whether the error resulted from die. This means that users may immediately use isa and various Exception::Class methods to process the exception.
In the other systems
| System | Port | Version |
|---|---|---|
| OpenBSD | devel/p5-Exception-Class-TryCatch | 1.13p0 |
| FreeBSD | devel/p5-Exception-Class-TryCatch | 1.13 |
| NetBSD | wip/p5-Exception-Class-TryCatch | 1.13 |
| DragonFly | devel/p5-Exception-Class-TryCatch | 1.13 |
| HardenedBSD | devel/p5-Exception-Class-TryCatch | 1.13 |
| GhostBSD | devel/p5-Exception-Class-TryCatch | 1.13 |
Install
Binary package:
pkg_add p5-Exception-Class-TryCatch
From the ports tree:
cd /usr/ports/devel/p5-Exception-Class-TryCatch && make install