Depending on the error message, either you don't have DBI
(the likely culprit, as other posters have pointed out), or
you don't have it installed correctly, or you're using
Perl 4, which would give you a syntax error when reaching
the use line.
Post the error message and what you get when you do