freebsd-ports/lang/p5-TryCatch/pkg-descr
Sunpoet Po-Chuan Hsieh 63d822bea4 - Add LICENSE
- Add OPTIONS: AUTHOR
- Fix *_DEPENDS
- Bump PORTREVISION for dependency change

PR:		ports/159015
Submitted by:	milki <milki@rescomp.berkeley.edu> (maintainer)
2011-07-24 03:33:36 +00:00

7 lines
392 B
Text

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/