Help for this page

Select Code to Download


  1. or download this
    package Err;
    
    ...
        my %args = @_;
        # Do something with %args here
    }
    
  2. or download this
    $handler ||= new Err;
    # time passes
    &do_right_thing() or $handler->err(title=>'Oops',msg=>'something went 
    +wrong');