Help for this page

Select Code to Download


  1. or download this
    my $dbh = DBI->connect("dbi:SQLite:dbname=$dbfile","","");
    
  2. or download this
    $sth = $dbh->prepare("SELECT foo, bar FROM table WHERE baz=?");
    
  3. or download this
      $sth->execute( $baz );
      while ( @row = $sth->fetchrow_array ) {
        print "@row\n";
      }