slackbuilds_ponce/perl/perl-TryCatch
Heinz Wiesinger 63daf9f79a All: Support $PRINT_PACKAGE_NAME env var
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
2021-07-17 21:55:09 +02:00
..
perl-TryCatch.info
perl-TryCatch.SlackBuild All: Support $PRINT_PACKAGE_NAME env var 2021-07-17 21:55:09 +02:00
README
slack-desc

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.