#7 creating a eval-catch-end

closed
Interpreter (6)
5
2009-09-01
2009-08-30
No

create a block for exception like try-catch-finally in Java like
eval{
...
}
catch( my $e Exception){
...
}
catch( my $e ){
...
}

Discussion

  • changing eval-catch-end to eval-error-end

    eval{
    ...
    }
    errot( my $e Exception){
    ...
    }
    error( my $e ){
    ...
    }
    end{
    ...
    }

     
  • completed.

     
    • status: open --> closed