Installing Perl Support for MySQL on Unix and Mac OS X
Like PHP, Perl is automatically installed on most Unix operating systems, including Mac OS X. Along with Perl you will need several modules to access MySQL, primarily DBI and DBD::mysql. A third, called Data-Dumper, is also necessary but may already be installed on your setup.
You have two options for installation:
To install Perl support for MySQL: