Subject: | Can't locate object method "STORE" |
ActivePerl 5.8.7.813
DBD-File-0.34
Error: Can't locate object method "STORE" via package "DBD::File::db" at C:/Perl/site/lib/DBD/File.pm line 275.
Code:
use strict;
use DBI;
my $dbh = DBI->connect('dbi:AnyData(RaiseError=>1):');
$dbh->func( 'dme', 'CSV', 'dme.csv', 'ad_catalog');
my $sth = $dbh->prepare("SELECT blank2, company FROM dme");
$sth->execute();
while (my $row = $sth->fetch) {
print "@$row\n";
}