in reply to MySQL Question
Check out Programming the Perl DBI and Reading from a Database and Tricks with DBI and Web Logs using DBI