Yup, but for *nix I would recommend to use «real» perl and not the activeperl edition.
With «real» perl you can simply just run these commands to get the up2date DBI and DBD::mysql modules compiled and installed in your system:
perl -MCPAN -e ‘install DBI’
perl -MCPAN -e ‘install DBD::mysql’