in reply to Error trapping

Depending on how cool your database is, I found the technique of having all SQL UPDATE statements dumping the original and new values incredibly useful.

I guess that you can get far with clever tieing of filehandles and database handles to catch many updates, but other than grepping for the "relevant" statements and wrapping them with some errorchecking, I see no bulletproof way of making your code more accessible...