Help for this page

Select Code to Download


  1. or download this
    use 5.010;
    use strict;
    ...
    };
    
    say $@ ? "ERROR" : "no error caught";
    
  2. or download this
    my $success = eval { ...; 1 }