First Class try catch Semantics for Perl
http://search.cpan.org/dist/TryCatch
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.
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Backports:SLE-15-SP4/perl-TryCatch && cd $_ - Create Badge
Refresh
Source Files
| Filename | Size | Changed |
|---|---|---|
| TryCatch-1.003002.tar.gz | 0000089808 87.7 KB | |
| perl-TryCatch.changes | 0000000741 741 Bytes | |
| perl-TryCatch.spec | 0000003969 3.88 KB |
Comments 0