Help for this page

Select Code to Download


  1. or download this
    try { 
        // Do Stuff
    ...
    catch (Exception e) {
        // Handle any other error
    }
    
  2. or download this
    eval {
        # Do stuff
    ...
    if($@) {
        # Handle any errors
    }
    
  3. or download this
    eval {
        # Do stuff
    }; if(@$) {
        # Handle any errors
    }