Help for this page

Select Code to Download


  1. or download this
    sub function1 {
        my $bSuccess=1;  # flag in case $e is undef even though we died
    ...
      };
    
    return $bSuccess ? $db : $e;
    
  2. or download this
    sub callDBI {
        my ($aParams, $crOnError) = @_;
    ...
        };
        return $db;
    }