BSD Ports

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

SystemPortVersion
OpenBSDdevel/p5-Exception-Class-TryCatch1.13p0
FreeBSDdevel/p5-Exception-Class-TryCatch1.13
NetBSDwip/p5-Exception-Class-TryCatch1.13
DragonFlydevel/p5-Exception-Class-TryCatch1.13
HardenedBSDdevel/p5-Exception-Class-TryCatch1.13
GhostBSDdevel/p5-Exception-Class-TryCatch1.13

Install

Binary package:

pkg_add p5-Exception-Class-TryCatch

From the ports tree:

cd /usr/ports/devel/p5-Exception-Class-TryCatch && make install

Dependencies

Run dependencies 1
Required by 1