Help for this page

Select Code to Download


  1. or download this
        my $dbh = shift ||' ';
        my $sth = shift ||' ';
    ...
    
        $sth->finish()     if $sth;
        $dbh->disconnect() if $dbh;
    
  2. or download this
        my $dbh = shift;
        my $sth = shift;
    ...
        } else {
           ' '->diconnect();  # RUNTIME ERROR
        }
    
  3. or download this
        my $dbh = shift;
        my $sth = shift;
    ...
    
        $sth->finish()     if $sth;
        $dbh->disconnect() if $dbh;