eval {$some->method}; if ($@) {}; #### try { some.method(); } catch (DealWithThisExceptionLater e) {}