Exception Handling, Logging, and Parameter Validation 16

Another Caveat

if (my $exc = $@)
{
    do_something();
    handle_exception($exc);
}