Help for this page

Select Code to Download


  1. or download this
    if (!eval { some_module_function( $param1 , $param2 , .. ); 1 }) {
       my $die_Message = $@;
       ...
    }
    
  2. or download this
    use Try::Tiny qw( try catch );
    
    ...
       my $die_Message = $_;
       ...
    };