I'm having trouble connecting to MySQL from Perl. Here is the error message:

PHP Code:
Undefined subroutine &DBD::mysql::db::_login called at /usr/local/lib/perl5/site_perl/5.8.0/i686-linux/DBD/mysql.pm line 131.
(in cleanupDriver has not implemented DESTROY for DBI::db=HASH(0x829ea20at -e line 0 
MySQL works fine from PHP, I've tested username & password & database-compination and it's all fine. Perl is version 5.8.0, MySQL is 3.23.43, I have mysql-devel, -client and -server installed, and so is zlib. I've installed DBI via CPAN with no problems, but DBD::mysql did give me lots of errors in 'make test' (Failed 17/18 test scripts, 5.56% okay. 724/727 subtests failed, 0.41% okay) but I 'make install'ed it anyway.

I've searched the web and found similar reports of error on an older version of Perl (5.003 or so if I remember correctly) so when I first got these errors on 5.6.0 I upgraded to 5.8.0 but that hasn't helped. Any help or comment is very very very very very much appriciated :)