aboutsummaryrefslogtreecommitdiff
path: root/lang/p5-TryCatch/pkg-descr
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/p5-TryCatch/pkg-descr
parent5e6bfa47f6116cf200f723dd15eee94e85de90e6 (diff)
Notes
Diffstat (limited to 'lang/p5-TryCatch/pkg-descr')
-rw-r--r--lang/p5-TryCatch/pkg-descr7
1 files changed, 7 insertions, 0 deletions
diff --git a/lang/p5-TryCatch/pkg-descr b/lang/p5-TryCatch/pkg-descr
new file mode 100644
index 000000000000..f46efdf5fb0a
--- /dev/null
+++ b/lang/p5-TryCatch/pkg-descr
@@ -0,0 +1,7 @@
+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 its 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