Programming the Perl DBI is excellent. Buy it. Read it.
The only O'Reilly book I've felt I wasted my money on is 'MySQL & mSQL'. That book is nothing more than a rehash of 'perldoc DBI'. For a good mySQL book (if that's what you're using, of course), get the MySQL by Paul DuBois from New Riders.