Help for this page

Select Code to Download


  1. or download this
    $sth->execute($login, $passwd) or die $dbh->errstr;
    
  2. or download this
    $dbh = DBI->connect($data_source, $user, $password) or die $DBI::errst
    +r;
    
  3. or download this
    $dbh = DBI->connect($data_source, $user, $password, {
                 RaiseError => 1});