eval { # code that could die }; if ($@) { # Poor man's catch!