Help for this page

Select Code to Download


  1. or download this
    disconnect invalidates 1 active statement handle
    DBI::db=HASH(0x8320754)->disconnect invalidates 1 active statement han
    +dle (either destroy statement handles or call finish on them before d
    +isconnecting)
    
  2. or download this
    use DBI;
        my $dbh = DBI->connect($location, $user, $ba_pass, { RaiseError =>
    + 1, AutoCommit => 1}) or die "Couldn't connect to database: " . $DBI:
    +:errstr;
    ...
            $dbh->disconnect;
         }