[Israel.pm] DBD::RAM

Berler Chanan bc.other at gmail.com
Tue Sep 29 02:06:00 PDT 2009

Found something after long search, saying this module (DBD::RAM) has lots of
bugs, and was told to use the DBD::AnyData
Will try it first, and come back again if I need help again

-----Original Message-----
From: perl-bounces at perl.org.il [mailto:perl-bounces at perl.org.il] On Behalf
Of Chanan Berler
Sent: Tuesday, September 29, 2009 11:01 AM
To: 'Perl in Israel'
Subject: [Israel.pm] DBD::RAM

Hi All,

Has anyone worked with DBD::RAM moduel found on cpan ?
I tried this code, found on the cpan web:
And get these error: Can't locate object method "STORE" via package
"DBD::File::db" at
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/DBD/File.pm line 362.

use warnings;
use strict;
use DBI;

my $dbh_ram = DBI->connect('dbi:RAM:','','',{RaiseError=>1});

my $dbh_mysql =
my $sth_mysql = $dbh_mysql->prepare("select * from host");

     data_type   => 'DBI',
     data_source => $sth_mysql,
 },'import' );

print $dbh_ram->selectcol_arrayref(qq[
select host_name from host])->[0];

Q: can anyone help with this error ?

Perl mailing list
Perl at perl.org.il
No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.409 / Virus Database: 270.13.112/2391 - Release Date: 09/28/09

More information about the Perl mailing list