Adding Perl support for MySQL on Mac OS X part 1

Mac OS X comes standard with Perl, but, unfortunately, the modules necessary to access a MySQL database are not included in this Perl implementation. You have to add them yourself, and this is not a self-evident process. Why use Perl when there is PHP you may ask? PHP comes with MySQL support built in! Well, I’m very used to Perl, and don’t want to learn more PHP than is absolutely necessary. Although I must admit that this is not a very sensible attitude, commercial hosting companies usually don’t offer Perl support for MySQL either so I couldn’t use my knowledge on a real webserver. I will have to put my own webserver online somewhere!

Leave a Reply