Help for this page

Select Code to Download


  1. or download this
    my $okay= eval {
        ....;
    ...
    if(  ! $okay  ) {
        warn "Error in eval: $@\n";
    }
    
  2. or download this
    sub DESTROY {
        # local $@;   # Uncomment this line to "fix" this
    ...
    } else {
        warn "eval succeeded.\n";
    }