Hi Thomas well it may be that the install put it in another directory other than in the ones listed below I too am a bit of a beginner with perl and mysql but I found my DBI stuff in another dir so I used the following in my perl script use lib "dir/path/here/to/libs"; This tells perl to look in another dir(including the original path) for the modules... and it solved my problems, maybe not the best method but it did work, what I would like to know from ppl eventually tho is how to modify the @INC variable at a user level, IE when I log into my machine! but that I guess is for another mailing list... hope this helps you too -----Original Message----- From: Thomas O'Neill [mailto:[EMAIL PROTECTED]] Sent: 22 February 2001 12:17 To: [EMAIL PROTECTED] Subject: help! perl and MySQL Beginner Warning! I have built a small guestbook using perl and MySQL when i try to run my perl script i get the following error. Software error: [Thu Feb 22 14:38:01 2001] DBI.pm: Can't locate DBI.pm in @INC (@INC contains: /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005) at /home/httpd/cgi-bin/guestbook.cgi line 8. BEGIN failed--compilation aborted at /home/httpd/cgi-bin/guestbook.cgi line 8. I have installed MySQL and the two perl plugins DBI and DBD using foo>perl -MCPAN -e 'install DBI' foo>perl -MCPAN -e'install DBD::mysql' Does anyone know where I should go from here? (Redhat 6.2, Apache) --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php