aboutsummaryrefslogtreecommitdiff
path: root/lang/Makefile
diff options
context:
space:
mode:
authorSylvio Cesar Teixeira <sylvio@FreeBSD.org>2010-04-25 00:00:11 +0000
committerSylvio Cesar Teixeira <sylvio@FreeBSD.org>2010-04-25 00:00:11 +0000
commitd7aa7c3c08ff76e2e41175e8d79cacfe5a81b391 (patch)
tree43ad2599f73eb799d75b472ae66d7670590d82db /lang/Makefile
parent5e6bfa47f6116cf200f723dd15eee94e85de90e6 (diff)
downloadports-d7aa7c3c08ff76e2e41175e8d79cacfe5a81b391.tar.gz
ports-d7aa7c3c08ff76e2e41175e8d79cacfe5a81b391.zip
- This module aims to provide a nicer syntax and method to catch errors in
Perl, similar to what is found in other languages (such as Java, Python or C++). The standard method of using eval {}; if($@) {} is often prone to subtle bugs, primarily that tis far too easy to stomp on the error in error handlers. And also eval/if isn't the nicest idiom. WWW: http://search.cpan.org/dist/TryCatch PR: ports/145951 Submitted by: Jonathan Chu <milki@rescomp.berkeley.edu>
Notes
Notes: svn path=/head/; revision=253190
Diffstat (limited to 'lang/Makefile')
-rw-r--r--lang/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile
index ca879cc28cd5..b5c4782a4cf0 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -231,6 +231,7 @@
SUBDIR += p5-Switch
SUBDIR += p5-Tcl
SUBDIR += p5-Try-Tiny
+ SUBDIR += p5-TryCatch
SUBDIR += p5-ePerl
SUBDIR += p5-signatures
SUBDIR += p5-v6