wfsp has asked for the wisdom of the Perl Monks concerning the following question:
Produces this error:#!/usr/bin/perl use strict; use warnings; use DBI; my $dbh = DBI->connect('dbi:AnyData(RaiseError=>1):'); $dbh->func( 'articles', 'CSV', 'articles.csv', 'ad_catalog' );
(added line break)Can't locate object method "STORE" via package "DBD::File::db" at c:/Perl/site/lib/DBD/File.pm line 275.
In c:/Perl/site/lib/DBD/File.pm:
This follows an apparently successful install via PPM.#line 161 package DBD::File::db; # ====== DATABASE ====== # line 241 sub STORE ($$$) { # line 275 (the line reported in the error msg) return $dbh->SUPER::STORE($attrib, $value);
Anyone have any ideas on how I can fix this?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: DBI/AnyData error msg "can't locate method"
by VSarkiss (Monsignor) on Jul 06, 2005 at 14:37 UTC | |
|
Re: DBI/AnyData error msg "can't locate method"
by simonm (Vicar) on Jul 06, 2005 at 16:31 UTC | |
|
Re: DBI/AnyData error msg "can't locate method"
by idsfa (Vicar) on Nov 17, 2005 at 19:34 UTC | |
|
Re: DBI/AnyData error msg "can't locate method"
by holli (Abbot) on Jul 06, 2005 at 14:20 UTC |