Errors are reported back to the invoking script by using Perl's die mechanism, and can be caught by using Perl’s eval function. This is typical Perl coding practice and mimics the try-throw-catch logic of Java and C++. “Error handling” on page 68 provides further information.