nop has asked for the wisdom of the Perl Monks concerning the following question:

Can anyone share their experiences (positive and/or negative) developing relatively large web apps using these two packages?

My definition of "large": web app with 10+ different "modes", each mode with a variety of input screens, error checking, formatted tables returned from DB, PNG graphs on demand, etc. To date, I've used just CGI with lots of embedded HTML ("here" strings) rather than templates, and held state myself using hidden variables and cookies.

All of this is on a corporate intranet, behind a firewall, to a small number of trusted users, so speed / security / scalability are not big concerns. My big concerns are my coding time, ease of maintenance, code size, flexibility, etc.

I'd welcome any war stories about these modules, or other modules I should be considering (rather than doing everything above CGI and DBI "by hand.")