mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-29 13:00:32 +01:00
2ab679b3ac
Signed-off-by: B. Watson <yalhcru@gmail.com>
8 lines
403 B
Text
8 lines
403 B
Text
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.
|