If you package your module up as a CPAN distribution (even if you don't intend to release it on CPAN) you can include all the database drivers you need as prerequisites (either in the Makefile.PL or Build.PL). Then you can install it via CPAN.pm, and it will go and fetch anything it needs.