http://www.perlmonks.org?node_id=19615


in reply to Acolyte needs regex help

I don't know what webserver you're using, but if you're using Apache/mod_perl, you can set up a PerlLogHandler to automatically log to your database, rather than going through the intermediate step of parsing the logfile.

I've got a tutorial up here, Web Logs using DBI, and merlyn has a WebTechniques column about this.