I'm working on CentOs 5.6 (which has Perl 5.8.8 by default). I need to install Perl 5.10.1 and DBD::mysql. I can install Perl 5.10.1 easily, just by downloading a source tar and using make, make test, make install, although that moves the default Perl to one side which is a bit suspect.
But DBD::mysql is causing me problems. If I try to install it using cpan, it fails, saying it can't find DBI/DBD.pm. There is a copy of DBI/DBD.pm, but its in the directories for the old Perl 5.8.8. I tried installing mysql and mysql-devel, but that didn't help.
So, does anyone know how to get all these things playing nice together?