Hi,

I have just downloaded DBD::RAM but when I tried to run a simple test
program from the commmand line I received the following error message :

Test program

  use strict;
    use DBI;
    my $dbh = DBI->connect('DBI:RAM:');
    $dbh->do("CREATE TABLE table1 ( message TEXT )");
    $dbh->do("INSERT INTO table1 VALUES ('Hello new world!')");
    print $dbh->selectrow_array("SELECT message FROM table1");


Error message ::

Can't locate DBI object method "csv_cache_sql_parser_object" via package
"DBD::RAM::db" at C:/indigoperl/site/lib/DBD/File.pm line 170.



and line 170 of File.pm is third line of if statement

if (SQL::Statement::VERSION > 1) {
my $parser = $dbh->(csv_cache_sql_parser_object');
$parser ||= $dbh->func('csv_cache_sql_parser_object');
$stmt = eval { $class->new($statement,$parser) };


Thanks,


Danielle


_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx

Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 40248 invoked by uid 76); 21 Jun 2002 22:55:43 -0000
Received: from f134.sea1.hotmail.com (HELO hotmail.com) (207.68.163.134)
  by onion.perl.org (qpsmtpd/0.07b) with SMTP; Fri Jun 21 22:55:43 2002 
-0000
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
         Fri, 21 Jun 2002 15:51:41 -0700
Received: from 62.7.154.100 by sea1fd.sea1.hotmail.msn.com with HTTP;
        Fri, 21 Jun 2002 22:51:41 GMT
X-Originating-IP: [62.7.154.100]
From: "Danielle Anderson" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Bcc:
Date: Fri, 21 Jun 2002 22:51:41 +0000
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: <[EMAIL PROTECTED]>
X-OriginalArrivalTime: 21 Jun 2002 22:51:41.0348 (UTC) 
FILETIME=[3574D640:01C21976]



Hi,

I have just downloaded DBD::RAM but when I tried to run a simple test
program from the commmand line I received the following error message :

Test program

   use strict;
     use DBI;
     my $dbh = DBI->connect('DBI:RAM:');
     $dbh->do("CREATE TABLE table1 ( message TEXT )");
     $dbh->do("INSERT INTO table1 VALUES ('Hello new world!')");
     print $dbh->selectrow_array("SELECT message FROM table1");


Can't locate DBI object method "csv_cache_sql_parser_object" via package
"DBD::RAM::db" at C:/indigoperl/site/lib/DBD/File.pm line 170.

and line 170 of File.pm is third line of if statement

if (SQL::Statement::VERSION > 1) {
my $parser = $dbh->(csv_cache_sql_parser_object');
$parser ||= $dbh->func('csv_cache_sql_parser_object');
$stmt = eval { $class->new($statement,$parser) };


Thanks,


Danielle


_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx


Reply via email to