
Trycatch 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.