Take a look at CGI::Application.
In reply to Re: Building Web 2.0 UIs by hangon in thread Building Web 2.0 UIs by lima1