Skip Menu |

This queue is for tickets about the DBD-SQLite CPAN distribution.

Report information
The Basics
Id: 29497
Status: resolved
Priority: 0/
Queue: DBD-SQLite

People
Owner: Nobody in particular
Requestors: Keith.D.Schincke [...] nasa.gov
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: POD content bug
Date: Wed, 19 Sep 2007 12:52:40 -0500
To: <bug-DBD-SQLite [...] rt.cpan.org>
From: "Schincke, Keith D. (JSC-IT)[MEI]" <Keith.D.Schincke [...] nasa.gov>
DBD::SQLite::VERSION = 1.13 DBD::SQLite::sqlite_version = 3.3.7 The example code in the BLOBS section has an incorrect connect() call. Below is a patch to correct the documentation. Keith --- SQLite-orig.pm 2007-09-19 12:44:24.000000000 -0500 +++ SQLite.pm 2007-09-19 12:45:15.000000000 -0500 @@ -526,7 +526,7 @@ BLOB use the following code: use DBI qw(:sql_types); - my $dbh = DBI->connect("dbi:sqlite:/path/to/db"); + my $dbh = DBI->connect("dbi:SQLite:dbname=dbfile","",""); my $blob = `cat foo.jpg`; my $sth = $dbh->prepare("INSERT INTO mytable VALUES (1, ?)");
Resolved in 1.19_07