diff options
Diffstat (limited to 'perl')
-rw-r--r-- | perl/perl-TryCatch/README | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/perl/perl-TryCatch/README b/perl/perl-TryCatch/README index 8f4c4817bd8f..282b8f4dc150 100644 --- a/perl/perl-TryCatch/README +++ b/perl/perl-TryCatch/README @@ -1,8 +1,8 @@ Trycatch is an extension of the Perl 5 object system. -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. - +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. |