Help for this page

Select Code to Download


  1. or download this
    $SIG{__DIE__} = \&die_handler;
    my $err_stmt;
    
  2. or download this
    sub die_handler()
    {
    ...
      print FH $err_stmt;
      close FH;
    }