1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Add lang/p5-Try-Catch, a stripped-down, faster implementation of

p5-Try-Tiny.
This commit is contained in:
Adam Weinberger 2015-07-03 17:16:45 +00:00
parent 24d146855f
commit 8bc835a524
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=391259
5 changed files with 32 additions and 0 deletions

View File

@ -212,6 +212,7 @@
SUBDIR += p5-Switch
SUBDIR += p5-Tcl
SUBDIR += p5-Test-XPath
SUBDIR += p5-Try-Catch
SUBDIR += p5-Try-Tiny
SUBDIR += p5-Try-Tiny-Retry
SUBDIR += p5-TryCatch

View File

@ -0,0 +1,20 @@
# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$
PORTNAME= Try-Catch
PORTVERSION= 0.0.5
CATEGORIES= lang perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:MAMOD
PKGNAMEPREFIX= p5-
MAINTAINER= adamw@FreeBSD.org
COMMENT= Try/Catch exception handler based on Try::Tiny, but faster
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
USES= perl5
USE_PERL5= configure
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (Try-Catch-0.0.5.tar.gz) = fc03f25af887190c1195d061cfcf93955de60fa9a642fc1a9afcdebe83f576c5
SIZE (Try-Catch-0.0.5.tar.gz) = 7610

View File

@ -0,0 +1,7 @@
A small, fast, try catch blocks for perl, it's inspired and mostly copied from
Try::Tiny but with some modifications to boost execution speed.
Consider Try::Catch a stripped Try::Tiny version with no blessing and no usage
of Sub::Name.
WWW: https://metacpan.org/pod/Try::Catch

View File

@ -0,0 +1,2 @@
%%SITE_PERL%%/Try/Catch.pm
%%PERL5_MAN3%%/Try::Catch.3.gz