eval { $msg -> send; }; if ($@) { # Ging nicht raus. }