Installing DBD::MySQL on OS X Mountain Lion 10.8.4

I decided to try Percona Toolkit from http://www.percona.com/doc/percona-toolkit/2.2/, but had to install DBD::MySQL for PERL. According to the steps at http://bixsolutions.net/forum/thread-8.html:
sh$ perl -MCPAN -e 'shell'

cpan> get DBI

cpan> get DBD::mysql

cpan> exit

sh$ sudo perl -MCPAN -e 'install DBI'

sh$ cd ~/.cpan/build/DBD-mysql-[hit TAB]

sh$ cat README.OSX

After reading the solution at https://discussions.apple.com/thread/3932531?start=0&tstart=0&fb_source=message
sh$ sudo install_name_tool -id /usr/local/mysql-5.6.11-osx10.7-x86_64/lib/libmysqlclient.18.dylib /usr/local/mysql-5.6.11-osx10.7-x86_64/lib/libmysqlclient.18.dylib

sh$ perl Makefile.PL --mysql_config=/usr/local/mysql/bin/mysql_config --testuser=root

sh$ make

sh$ make test

sh$ sudo make install