I have Active State Perl 5.6. I've used PPM install DBI. I'm using
this code:
#
# Perl script that talks with the Northwinds database using an
# ODBC DSN of Northwind.
#
use DBI;
use Data::Dumper;
my $dbh = DBI->connect( "dbi:ODBC:Northwind", "Admin", "",
{RaiseError => 1, PrintError => 1, AutoCommit => 1} ) or
die "Unable to connect: " . $DBI::errstr . "\n";
# OK, connected, now select from Customers table.
I get this error: Can't locate object method "p" via package "DBI::db"
(perhaps you forgot to load "DBI::DB"?) at test.pl line 21.
Any help??
Thanks in advance!
Jackie
- Re: Connecting MS Access Database with DBI jad
- Re: Connecting MS Access Database with DBI Thomas A. Lowery
- RE: Connecting MS Access Database with DBI Jeff Urlwin
- RE: Connecting MS Access Database with DBI Timothy Johnson
- Re: Connecting MS Access Database with DBI Tim Bunce
- RE: Connecting MS Access Database with DBI Jeff Urlwin
- RE: Connecting MS Access Database with DBI Timothy Johnson
