in reply to Re: Exception Handling in Perl
in thread Exception Handling in Perl

Read the Error documentation. except is a call back that is used to help determine how to handle the exception:

The return value from this block should be a HASHREF or a list of key-value pairs, where the keys are class names and the values are CODE references for the handler of errors of that type.

Your test code does not make sense.

True laziness is hard work