Just grab one of the ORM frameworks from CPAN and start using it.
Yeah that is what I thought you are supposed to do. But when it came down it I did not feel it really solved my problems. I'll try to put a meditation together at some point on the subject.
Also I have looked at Jifty and Catalyst but I keep deciding I really want to use CGI::Application.