|
-
Mar 14th, 2002, 07:54 AM
#1
Thread Starter
Addicted Member
perl DBI
I'm trying to use connect to a mysql database and I read somewhere to use the DBI class. So, my program looks like this
#!/usr/bin/perl
#
use DBI;
but it dies right there on line 3 with this error..
Can't locate DBI.pm in @INC (@INC contains: /usr/lib/perl5/5.00503/i386-linux /u
sr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/si
te_perl/5.005 .) at ./testrun.pl line 3.
BEGIN failed--compilation aborted at ./testrun.pl line 3.
So I'm stumped, I'm new to perl. Can anybody tell what I need to do?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|