Accessing Database Information Using Perl

So, you've got MySQL on your machine. Now what can you do with it? Obviously, you can use one of the previously mentioned utilities to view and manipulate data, but that isn't nearly as useful as being able to apply programmatic logic to the data. Not surprisingly, Perl can be upgraded using DBI (Database Independent Interface) and DBD (Database Driver) modules to access dozens of database systems, including MySQL.

Perl and MySQL can be combined to create database applications that can be used for anything from storing your personal movie collection to enterprisewide solutions. This portion of the chapter introduces you to the MySQL and Perl connection.

Installing DBI::DBD

As you learned in Chapter 18 ...

Get Mac OS® X Tiger™ Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.