1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/lang/p5-TryCatch/pkg-descr
Steve Wills b8c4ce6d92 - Update to 1.003002
PR:		ports/177297
Submitted by:	milki <milki@rescomp.berkeley.edu> (maintainer)
2013-03-24 00:43:24 +00:00

8 lines
391 B
Plaintext

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: https://metacpan.org/module/TryCatch