Help for this page

Select Code to Download


  1. or download this
    try {
        ...
    } sub {
        print "FAILED!\n";
    }
    
  2. or download this
     1     sub try (&@) {
     2         print "try();\n";
    ...
    16     } catch {
    17         print "FAILED!\n";
    18     };
    
  3. or download this
    16     } catch {
    17         /^foobar$/ and print "FAILED!\n";
    18     };