in reply to mod_perl and cgi detente

You might consider a framework like Catalyst or Gantry which factor out the server engine. But they might require more re-writing than you want to do.

Phil