Perl beginner - perhaps you forgot to load "DBI"
Posted on 2008-10-18
I'm not a Perl programmer and have inherited a Perl script. I've seen this script run on another machine, so it works and I'd expect any issues running it on my machine to be configuration ones.
When I run the script I get "Can't locate object method "connect" via package "DBI" (perhaps you forgot to load "DBI")
I'm running EPIC under Eclipse on Windows XP.
Checking with the PPM (Perl Package Manager), I see that DBI is present three times:
Package Area Installed Available
DBI site 1.604 1.602
DBI perl 1.601 (blank)
DBI (blank) (blank) 1.604
What is my problem and how can I correct it?