Help for this page

Select Code to Download


  1. or download this
        Storable uses the "exception" paradigm, in that it does
        not try to workaround failures: if something bad happens,
        an exception is generated from the caller's perspective
        (see Carp and croak()).  Use eval {} to trap those
        exceptions.
    
  2. or download this
    $existref = eval { retrieve($filename) };
    
    if (not $existref) {
      nice_error_message("Error retrieving data: $@");
    }