Help for this page

Select Code to Download


  1. or download this
      sub LOGifError {
        my ($o, $what, $err) = @_;
        $o->LOG('error', "$what: $error") if $error;
      }
    
  2. or download this
      $o->LOGifError($tree, $@);
  3. or download this
      if ($@) {
         $o->LOG('error', "$tree: $@");
      }
    
  4. or download this
      $o->LOG('error', "$tree: $@") if $@;