Chapter 7. The Perl DBI API

This chapter describes how to use the Perl DBI interface to MySQL. It does not discuss DBI philosophy or architecture. For information about those aspects of DBI (particularly in comparison with the C and PHP APIs), see Chapter 5, "Introduction to MySQL Programming."

The examples in this chapter draw on our sample database, samp_db, using the tables needed for the grade-keeping project and for the Historical League. To get the most from the chapter, it's best if you know something about Perl. If you don't, you may be able to get along and write your own scripts simply by copying the sample code you see here. But you would probably find a good Perl book a worthwhile investment. One such book is Programming Perl, ...

Get MySQL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.